Skip to content

Commit

Permalink
Merge pull request #173 from aspectron/master
Browse files Browse the repository at this point in the history
Address multi-platform issues with getrandom dependency
  • Loading branch information
tatsuya6502 committed Aug 29, 2022
2 parents f5267f7 + 361f238 commit f6247a0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Cargo.toml
Expand Up @@ -46,6 +46,9 @@ atomic64 = []
# performance impacts and is intended for debugging purpose.
unstable-debug-counters = ["future"]

# js = ["getrandom?/js","uuid/js"]
js = ["getrandom/js","uuid/js"]

[dependencies]
crossbeam-channel = "0.5.5"
crossbeam-utils = "0.8"
Expand Down Expand Up @@ -77,12 +80,15 @@ futures-util = { version = "0.3", optional = true }
# Optional dependencies (logging)
log = { version = "0.4", optional = true }

# Required for testing (can not reside in dev-dependencies
# on stable due to platform compatibility issues
getrandom = { version = "0.2", optional = true }

[dev-dependencies]
actix-rt = { version = "2.7", default-features = false }
anyhow = "1.0.19"
async-std = { version = "1.11", features = ["attributes"] }
env_logger = "0.9"
getrandom = "0.2"
reqwest = "0.11.11"
skeptic = "0.13"
tokio = { version = "1.19", features = ["fs", "macros", "rt-multi-thread", "sync", "time" ] }
Expand Down

0 comments on commit f6247a0

Please sign in to comment.