separate semantic_version from util (#6438)

This commit is contained in:
Hawstein
2017-09-02 19:14:21 +08:00
committed by Gav Wood
parent 0b5285c282
commit 2faa28ce9b
11 changed files with 20 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
[package]
name = "semantic_version"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
[dependencies]

View File

@@ -20,8 +20,8 @@
///
/// # Example
/// ```
/// extern crate ethcore_util as util;
/// use util::semantic_version::*;
/// extern crate semantic_version;
/// use semantic_version::*;
///
/// fn main() {
/// assert_eq!(SemanticVersion::new(1, 2, 3).as_u32(), 0x010203);

View File

@@ -128,7 +128,6 @@ pub mod triehash;
pub mod trie;
pub mod nibbleslice;
pub mod nibblevec;
pub mod semantic_version;
pub mod snappy;
pub mod cache;
@@ -139,7 +138,6 @@ pub use overlaydb::*;
pub use journaldb::JournalDB;
pub use triehash::*;
pub use trie::{Trie, TrieMut, TrieDB, TrieDBMut, TrieFactory, TrieError, SecTrieDB, SecTrieDBMut};
pub use semantic_version::*;
pub use kvdb::*;
pub use error::*;
pub use bytes::*;