Skip to content

Commit

Permalink
Set version to 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JEnoch committed Mar 25, 2024
1 parent 874b7e4 commit d29fb40
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
[package]
name = "uhlc"
version = "0.6.3"
version = "0.7.0"
description = """
A Unique Hybrid Logical Clock for Rust.
"""
Expand All @@ -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"
Expand Down

0 comments on commit d29fb40

Please sign in to comment.