Skip to content

Commit 4b2a2d9

Browse files
authored
Merge pull request #50 from purpleprotocol/fix_no_std
Fixed no_std builds
2 parents aefe7b9 + b6ba67b commit 4b2a2d9

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

Cargo.toml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,21 @@ readme = "README.md"
1414
travis-ci = { repository = "purpleprotocol/graphlib", branch = "master" }
1515

1616
[dependencies]
17-
rand = { version = "0.7.2", default-features = false }
18-
rand_core = "0.5.1"
19-
rand_isaac = "0.2.0"
20-
hex = "0.4.0"
21-
hashbrown = { version = "0.6.3", features = ["rayon"] }
22-
dot = {version = "0.1.4", optional=true}
17+
rand = { version = "0.7.3", default-features = false }
18+
rand_core = { version = "0.5.1", default-features = false }
19+
rand_isaac = { version = "0.2.0", default-features = false }
20+
hex = { version = "0.4.0", default-features = false }
21+
hashbrown = { version = "0.6.3", default-features = false, features = ["inline-more", "ahash"] }
22+
dot = { version = "0.1.4", optional = true }
2323

2424
[dev-dependencies]
2525
criterion = "0.3.0"
26-
# Due to criterion dependency on std
27-
rand = "0.7.2"
2826

2927
[[bench]]
3028
name = "benchmark"
3129
harness = false
3230

3331
[features]
34-
3532
default = []
3633
# use `cargo bench --features sbench` only if you want benchmarks with 10 million
3734
# iterations (may fail on some systems)

0 commit comments

Comments
 (0)