forked from mozilla/neqo
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (44 loc) · 1.36 KB
/
Copy pathCargo.toml
File metadata and controls
51 lines (44 loc) · 1.36 KB
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
[package]
name = "neqo-common"
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]
enum-map = { workspace = true }
env_logger = { version = "0.10", default-features = false }
hex = { workspace = true, optional = true }
log = { workspace = true }
qlog = { workspace = true, optional = true }
strum = { workspace = true }
thiserror = { workspace = true }
[target."cfg(windows)".dependencies]
windows = { workspace = true , features = ["Win32_Media"] }
[dev-dependencies]
criterion = { version = "0.6", default-features = false, features = ["cargo_bench_support"] }
neqo-crypto = { path = "../neqo-crypto" }
test-fixture = { path = "../test-fixture" }
regex = { workspace = true }
[features]
default = []
qlog = ["dep:qlog", "test-fixture/qlog"]
bench = ["neqo-crypto/bench", "test-fixture/bench"]
build-fuzzing-corpus = ["hex/alloc"]
ci = []
test-fixture = []
[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 = "decoder"
harness = false
required-features = ["bench"]