Skip to content

Commit

Permalink
Fix no_std bug
Browse files Browse the repository at this point in the history
  • Loading branch information
0byteme committed Aug 5, 2024
1 parent 4a16276 commit 4a9a50b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ codegen-units = 1
#panic = 'abort' # remove stack backtrace for no-std

[target.'cfg(target_family = "wasm")'.dependencies]
web-time = { version = "1.1.0" }# WASM implementation of std::time::Instant
[target.'cfg(not(feature = "no_time"))'.dependencies]
web-time = { version = "1.1.0" ,optional = true}# WASM implementation of std::time::Instant

[package.metadata.docs.rs]
features = ["document-features", "metadata", "serde", "internals", "decimal", "debugging"]
Expand Down

0 comments on commit 4a9a50b

Please sign in to comment.