Skip to content

Commit 29e7e97

Browse files
author
Asya Corbeau
committed
Fix compilation on newer nightly by removing unused feature of metrics crate
Fix features
1 parent 5702717 commit 29e7e97

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

Cargo.toml

+13-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "mobc"
33
version = "0.8.3"
4-
authors = ["importcjj <[email protected]>", "Garren Smith <[email protected]>"]
4+
authors = [
5+
"importcjj <[email protected]>",
6+
"Garren Smith <[email protected]>",
7+
]
58
edition = "2018"
69
readme = "README.md"
710
license = "MIT/Apache-2.0"
@@ -18,16 +21,20 @@ unstable = []
1821

1922
[dependencies]
2023
futures-core = "0.3"
21-
futures-channel = { version = "0.3", features=["sink"] }
22-
futures-util = { version = "0.3", features=["sink"] }
23-
tokio = { version = "1", features=["rt", "rt-multi-thread", "time"], optional = true }
24-
async-std = { version = "1.0", features=["unstable"], optional = true }
24+
futures-channel = { version = "0.3", features = ["sink"] }
25+
futures-util = { version = "0.3", features = ["sink"] }
26+
tokio = { version = "1", features = [
27+
"rt",
28+
"rt-multi-thread",
29+
"time",
30+
], optional = true }
31+
async-std = { version = "1.0", features = ["unstable"], optional = true }
2532
actix-rt = { version = "1", optional = true }
2633
async-trait = "0.1"
2734
futures-timer = "3.0.2"
2835
log = "0.4"
2936
thiserror = "1.0"
30-
metrics = "0.22.1"
37+
metrics = { version = "0.22.1", default-features = false }
3138
tracing = { version = "0.1", features = ["attributes"] }
3239
tracing-subscriber = "0.3.11"
3340

0 commit comments

Comments
 (0)