forked from NLnetLabs/rpki-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
78 lines (65 loc) · 2.48 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
[package]
name = "rpki"
version = "0.15.10-dev"
edition = "2018"
authors = ["The NLnet Labs RPKI Team <rpki@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]
base64 = "0.13.0"
bcder = { version = "0.7", optional = true }
bytes = "1.0"
futures-util = { version = "0.3", optional = true }
chrono = { version = "0.4.10", features = [ "serde" ] }
log = "0.4.7"
openssl = { version = "0.10.23", optional = true }
quick-xml = { version = "0.23.0", optional = true }
ring = { version = "0.16.11", optional = true }
routecore = "0.2"
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"] }
tokio-stream = { version = "0.1", optional = true }
uuid = "1.1"
untrusted = { version = "0.7.0", 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", "routecore/bcder" ]
repository = [ "bcder", "crypto", "routecore/bcder" ]
rrdp = [ "xml", "ring" ]
rtr = [ "futures-util", "tokio", "tokio-stream" ]
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.
serde-support = ["serde", "routecore/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" ]