-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
68 lines (56 loc) · 1.47 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
[package]
name = "rpsl-rs"
description = "A Routing Policy Specification Language (RPSL) parser with a focus on speed and correctness."
version = "2.0.0"
keywords = ["rpsl", "parser", "routing", "policy", "whois"]
categories = ["parsing", "database"]
edition = "2021"
authors = ["Marvin Vogt <[email protected]>"]
license = "MIT"
homepage = "https://github.com/srv6d/rpsl-rs"
repository = "https://github.com/srv6d/rpsl-rs"
readme = "README.md"
exclude = [".devcontainer", ".github", "doc/benchmark/**", "tests/**"]
# Make sure to also adjust in README and CI
rust-version = "1.74"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
name = "rpsl"
crate-type = ["cdylib", "rlib"]
[dependencies]
winnow = "0.6.21"
thiserror = "2.0.3"
serde = { version = "1.0.217", features = ["derive"], optional = true }
serde_json = { version = "1.0.134", optional = true }
[dev-dependencies]
codspeed-criterion-compat = "=2.7.2"
criterion = "=0.5.1"
proptest = "=1.6.0"
rstest = "=0.23.0"
serde_json = "=1.0.134"
serde_test = "=1.0.177"
[features]
default = ["simd"]
simd = ["winnow/simd"]
serde = ["dep:serde"]
json = ["serde", "dep:serde_json"]
[[bench]]
name = "parse_as3257"
harness = false
[[bench]]
name = "parse_as3257_whois_response"
harness = false
[[bench]]
name = "equality"
harness = false
[[bench]]
name = "get_values"
harness = false
[profile.release]
lto = true
[profile.test.package.proptest]
opt-level = 3
[profile.test.package.rand_chacha]
opt-level = 3