separate semantic_version from util (#6438)
This commit is contained in:
6
util/semantic_version/Cargo.toml
Normal file
6
util/semantic_version/Cargo.toml
Normal file
@@ -0,0 +1,6 @@
|
||||
[package]
|
||||
name = "semantic_version"
|
||||
version = "0.1.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
|
||||
[dependencies]
|
||||
@@ -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);
|
||||
@@ -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::*;
|
||||
|
||||
Reference in New Issue
Block a user