forked from 6d7a/rasn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
70 lines (61 loc) · 2.03 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
[package]
name = "rasn"
version.workspace = true
categories = ["encoding", "no-std", "parser-implementations"]
description = "A safe no_std ASN.1 codec framework."
license.workspace = true
exclude = ["fuzzing"]
keywords = ["asn1", "der", "ber", "cer", "per"]
repository.workspace = true
edition.workspace = true
[lib]
bench = false
[workspace]
members = [".", "macros", "standards/*"]
exclude = ["fuzzing"]
[workspace.package]
edition = "2021"
license = "MIT/Apache-2.0"
version = "0.14.0"
repository = "https://github.com/librasn/rasn.git"
[workspace.dependencies]
pretty_assertions = "1.1"
chrono = { version = "0.4.27", default-features = false, features = ["alloc"] }
bitvec = { version = "1.0.1", default-features = false, features = ["alloc"] }
[features]
default = ["macros"]
macros = ["rasn-derive"]
backtraces = []
[[bench]]
name = "criterion"
path = "benches/criterion.rs"
harness = false
test = true
[[bench]]
name = "iai"
path = "benches/iai.rs"
harness = false
[dependencies]
nom = { version = "7.1.3", default-features = false, features = ["alloc"] }
num-bigint = { version = "0.4.3", default-features = false }
num-traits = { version = "0.2.16", default-features = false }
snafu = { version = "0.7.5", default-features = false, features = ["backtraces"] }
bytes = { version = "1.4.0", default-features = false }
bitvec.workspace = true
rasn-derive = { version = "0.14", path = "macros", optional = true }
chrono.workspace = true
konst = { version = "0.3.5", default-features = false }
nom-bitvec = { package = "bitvec-nom2", version = "0.2.0" }
arrayvec = { version = "0.7.4", default-features = false }
either = { version = "1.9.0", default-features = false }
once_cell = { version = "1.18.0", default-features = false, features = ["race", "alloc"] }
num-integer = { version = "0.1.45", default-features = false, features = ["i128"] }
jzon = "0.12.5"
xml-no-std = { version = "0.8.16"}
[dev-dependencies]
criterion = "0.5.1"
iai = "0.1.1"
once_cell = "1.18.0"
pretty_assertions.workspace = true
rasn-pkix = { path = "standards/pkix" }
x509-parser = "0.15.0"