-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
67 lines (59 loc) · 1.97 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[workspace]
resolver = "2"
members = ["cli", "test-helpers"]
[workspace.package]
authors = ["Robert Krahn <[email protected]>", "Matthew Kim <[email protected]>"]
categories = ["simulation", "network-programming", "asynchronous"]
edition = "2021"
homepage = "https://github.com/hypervideo/chokepoint"
keywords = ["network", "congestion", "traffic", "simulation"]
license = "MPL-2.0"
repository = "https://github.com/hypervideo/chokepoint"
[workspace.dependencies]
bytes = "1.8.0"
chokepoint = { path = "." }
chokepoint-test-helpers = { path = "./test-helpers" }
chrono = "0.4.38"
futures = "0.3.31"
pin-project = "1.1.7"
rand = "0.9.0"
rand_distr = "0.5.0"
tokio = { version = "1.41.1", default-features = false }
tokio-stream = "0.1.16"
tokio-util = { version = "0.7.12", default-features = false }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
wasmtimer = "0.4.1"
[package]
name = "chokepoint"
version = "0.5.0"
readme = "README.md"
description = "Generic stream transformer to simulate traffic / network congestion"
authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
[dependencies]
bytes.workspace = true
futures.workspace = true
pin-project.workspace = true
rand.workspace = true
rand_distr.workspace = true
tokio-stream = { workspace = true, features = ["sync"] }
tracing.workspace = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { workspace = true, features = ["time", "sync"] }
tokio-util = { workspace = true, features = ["time"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
tokio = { workspace = true, features = ["sync"] }
wasmtimer.workspace = true
[dev-dependencies]
chokepoint-test-helpers.workspace = true
chrono.workspace = true
tokio = { workspace = true, features = ["time", "sync", "rt-multi-thread", "macros"] }
tokio-test = "0.4.4"
tracing-subscriber.workspace = true
yare = "3.0.0"