-
Notifications
You must be signed in to change notification settings - Fork 132
/
Copy pathCargo.toml
72 lines (63 loc) · 1.99 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
68
69
70
71
72
[package]
name = "neqo-transport"
authors.workspace = true
homepage.workspace = true
repository.workspace = true
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
description.workspace = true
keywords.workspace = true
categories.workspace = true
readme.workspace = true
[lints]
workspace = true
[dependencies]
# Checked against https://searchfox.org/mozilla-central/source/Cargo.lock 2024-11-11
enum-map = { workspace = true }
enumset = { workspace = true }
indexmap = { version = "2.2", default-features = false } # See https://github.com/mozilla/neqo/issues/1858
log = { workspace = true }
neqo-common = { path = "../neqo-common" }
neqo-crypto = { path = "../neqo-crypto" }
mtu = { version = "0.2", default-features = false } # neqo is only user currently, can bump freely
qlog = { workspace = true }
rustc-hash = { workspace = true }
smallvec = { version = "1.13", default-features = false }
static_assertions = { workspace = true }
strum = { workspace = true }
[dev-dependencies]
criterion = { version = "0.5", default-features = false }
neqo-transport = { path = ".", features = ["draft-29"] }
test-fixture = { path = "../test-fixture" }
[features]
bench = ["neqo-common/bench", "neqo-crypto/bench"]
build-fuzzing-corpus = [
"neqo-common/build-fuzzing-corpus",
"neqo-crypto/disable-encryption",
"neqo-crypto/disable-random",
"test-fixture/disable-random",
]
disable-encryption = ["neqo-crypto/disable-encryption"]
draft-29 = []
gecko = ["mtu/gecko"]
[lib]
# See https://github.com/bheisler/criterion.rs/blob/master/book/src/faq.md#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options
bench = false
[[bench]]
name = "transfer"
harness = false
required-features = ["bench"]
[[bench]]
name = "rx_stream_orderer"
harness = false
required-features = ["bench"]
[[bench]]
name = "range_tracker"
harness = false
required-features = ["bench"]
[[bench]]
name = "sent_packets"
harness = false
required-features = ["bench"]