-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Cargo.toml
79 lines (66 loc) · 2.46 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
73
74
75
76
77
78
[package]
name = "rpki"
version = "0.18.4"
edition = "2021"
rust-version = "1.70"
authors = ["NLnet Labs <rpki-team@nlnetlabs.nl>"]
description = "A library for validating and creating RPKI data."
documentation = "https://docs.rs/rpki/"
homepage = "https://github.com/nlnetlabs/rpki-rs/"
repository = "https://github.com/NLnetLabs/rpki-rs"
keywords = ["rpki", "routing-security"]
categories = ["network-programming"]
license = "BSD-3-Clause"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
arbitrary = { version = "1", optional = true, features = ["derive"] }
base64 = "0.22"
bcder = { version = "0.7.3", optional = true }
bytes = "1.0"
chrono = { version = "0.4.35", features = [ "serde" ] }
futures-util = { version = "0.3", optional = true }
log = "0.4.7"
openssl = { version = "0.10.23", optional = true }
quick-xml = { version = "0.31.0", optional = true }
ring = { version = "0.17.6", optional = true }
serde = { version = "1.0.103", optional = true, features = [ "derive" ] }
serde_json = { version = "1.0.40", optional = true }
tokio = { version = "1.0", optional = true, features = ["io-util", "net", "rt", "sync", "time"] }
uuid = "1.1"
untrusted = { version = "0.9", optional = true }
[dev-dependencies]
serde_json = "1.0.40"
serde_test = "1.0"
tokio = { version="1.0", features=["net", "macros"]}
[features]
default = []
# Main components of the crate.
ca = [ "repository", "serde-support", "rrdp" ]
crypto = [ "bcder", "ring", "untrusted" ]
repository = [ "bcder", "crypto" ]
rrdp = [ "xml", "ring" ]
rtr = [ "futures-util", "tokio" ]
slurm = [ "rtr", "serde-support", "serde_json" ]
# Feature that provides compatibility with (technically incorrect) objects
# produced by earlier versions of this library, which are rejected now.
compat = [ ]
# Dependent components of the crate.
xml = [ "quick-xml" ]
# Extra features provided.
arbitrary = ["dep:arbitrary", "chrono/arbitrary"]
serde-support = ["serde"]
softkeys = [ "openssl" ]
# Dummy features for Windows CI runs where we don’t want to have to deal
# with OpenSSL
__windows_ci_all = [ "ca", "rrdp", "rtr", "serde-support" ]
[[bin]]
name = "readcer"
required-features = [ "repository" ]
[[bin]]
name = "readmft"
required-features = [ "repository" ]
[[bin]]
name = "readroa"
required-features = [ "repository" ]