diff --git a/Cargo.toml b/Cargo.toml index f802167..61466b7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ # [package] name = "uhlc" -version = "0.6.3" +version = "0.7.0" description = """ A Unique Hybrid Logical Clock for Rust. """ @@ -26,23 +26,28 @@ edition = "2018" [features] default = ["std"] -std = [ - "humantime", - "lazy_static", - "log", - "serde/std", - "rand/std" -] -defmt = ["dep:defmt"] # Enables defmt for logging in no_std +std = ["humantime", "lazy_static", "log", "serde/std", "rand/std"] +defmt = ["dep:defmt"] # Enables defmt for logging in no_std [dependencies] -defmt = { version = "0.3.2", features = ["alloc"], optional = true } # Replaces log in no_std +defmt = { version = "0.3.2", features = [ + "alloc", +], optional = true } # Replaces log in no_std humantime = { version = "2.0", optional = true } lazy_static = { version = "1.4.0", optional = true } log = { version = "0.4", optional = true } # Used only in std -rand = { version = "0.8.5", default-features = false, features = ["alloc", "getrandom"] } -serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] } -spin = { version = "0.9.8", default-features = false, features = ["mutex", "spin_mutex"] } # No_std alternative for std::sync::Mutex +rand = { version = "0.8.5", default-features = false, features = [ + "alloc", + "getrandom", +] } +serde = { version = "1.0", default-features = false, features = [ + "alloc", + "derive", +] } +spin = { version = "0.9.8", default-features = false, features = [ + "mutex", + "spin_mutex", +] } # No_std alternative for std::sync::Mutex [dev-dependencies] async-std = "1.6"