-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
40 lines (35 loc) · 1.24 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "toolbox"
version = "0.2.0"
authors = ["Oliver Chalk"]
edition = "2021"
readme = "README.md"
[lints.clippy]
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
# See `clippy.toml`.
disallowed_methods = "warn"
[features]
default = []
bincode_codec = ["dep:bincode", "dep:serde", "dep:thiserror", "tokio-util/codec"]
named_task = ["tokio/rt"]
interval_stream = ["tokio/time", "dep:futures"]
tracing = ["dep:const_format", "dep:tracing", "dep:tracing-appender", "dep:tracing-subscriber"]
version = ["dep:const_format"]
[dependencies]
bincode = { version = "~1.3", optional = true }
const_format = { version = "0.2.32", optional = true }
futures = { version = "0.3.31", optional = true }
serde = { version = "~1.0", optional = true }
thiserror = { version = "~2.0", optional = true }
tokio = { version = "1.0", optional = true }
tokio-util = { version = "~0.7", optional = true }
tracing = { version = "0.1.40", optional = true }
tracing-appender = { version = "0.2.3", optional = true }
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"], optional = true }
[dev-dependencies]
proptest = "1.6.0"
proptest-derive = "0.5.1"
serde = { version = "~1.0", features = ["derive"] }
tokio-test = "0.4.4"