Skip to content

Commit

Permalink
adjust Cargo.toml for the no_std compilation model
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Jul 12, 2020
1 parent a7d44c1 commit a5be761
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,29 @@ readme = "README.md"
repository = "https://github.com/robbepop/string-interner"
documentation = "https://docs.rs/string-interner"
keywords = ["interner", "intern", "string", "str", "symbol"]
description = """An efficient string interning data structure with minimal memory footprint
description = """Efficient string interner with minimal memory footprint
and fast access to the underlying strings.
"""
categories = ["data-structures"]
edition = "2018"

[dependencies]
cfg-if = "0.1.10"
cfg-if = "0.1"
serde = { version = "1.0", optional = true }
hashbrown = { version = "0.8", optional = true }

[dev-dependencies]
fnv = "1.0" # Required bench tests.
serde_json = "1.0" # Required for testing the serde implementation.
lazy_static = "1.0" # Required for benches.
criterion = "0.3.1" # Required for benches.
serde_json = "1.0"
criterion = "0.3"

[[bench]]
name = "bench"
harness = false

[features]
default = ["std", "serde-1"]
std = []
bench = ["std"]
default = ["std", "serde-1"]
std = []
bench = ["std"]
serde-1 = ["serde"]

[badges]
Expand Down

0 comments on commit a5be761

Please sign in to comment.