mirror of
https://github.com/TrueLayer/reqwest-middleware.git
synced 2024-12-26 19:06:31 +00:00
move wasmtimer to wasm32 dependencies
This commit is contained in:
parent
4b3140e1e6
commit
0af5f89220
1 changed files with 1 additions and 2 deletions
|
@ -24,14 +24,13 @@ reqwest = { version = "0.12.0", default-features = false }
|
||||||
retry-policies = "0.4"
|
retry-policies = "0.4"
|
||||||
thiserror = "1.0.61"
|
thiserror = "1.0.61"
|
||||||
tracing = { version = "0.1.26", optional = true }
|
tracing = { version = "0.1.26", optional = true }
|
||||||
wasmtimer = "0.4.1"
|
|
||||||
|
|
||||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||||
hyper = "1.0"
|
hyper = "1.0"
|
||||||
tokio = { version = "1.6.0", default-features = false, features = ["time"] }
|
tokio = { version = "1.6.0", default-features = false, features = ["time"] }
|
||||||
|
|
||||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||||
|
wasmtimer = "0.4.1"
|
||||||
getrandom = { version = "0.2.0", features = ["js"] }
|
getrandom = { version = "0.2.0", features = ["js"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
Loading…
Reference in a new issue