-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
76 lines (69 loc) · 1.8 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
[package]
description = "Parser/encoder for ASN.1 BER/DER data"
license = "MIT OR Apache-2.0"
keywords = ["BER","DER","ASN1","parser","nom"]
homepage = "https://github.com/rusticata/asn1-rs"
repository = "https://github.com/rusticata/asn1-rs.git"
name = "asn1-rs"
version = "0.6.2"
authors = ["Pierre Chifflier <chifflier@wzdftpd.net>"]
categories = ["parser-implementations"]
readme = "README.md"
edition = "2018"
rust-version = "1.63"
include = [
"CHANGELOG.md",
"LICENSE-*",
"README.md",
".gitignore",
"Cargo.toml",
"doc/*.md",
"examples/*.rs",
"src/*.rs",
"src/asn1_types/*.rs",
"src/asn1_types/real/*.rs",
"src/asn1_types/sequence/*.rs",
"src/asn1_types/set/*.rs",
"src/asn1_types/strings/*.rs",
"src/asn1_types/tagged/*.rs",
"src/ber/*.rs",
"src/doc/*.rs",
"tests/*.rs",
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["std"]
bigint = ["num-bigint"]
bits = ["bitvec"]
datetime = ["time"]
debug = ["colored"]
serialize = ["cookie-factory"]
std = []
trace = ["debug"]
[dependencies]
asn1-rs-derive = { version="0.5", path="./derive" }
asn1-rs-impl = { version="0.2", path="./impl" }
bitvec = { version="1.0", optional=true }
colored = { version="2.0", optional=true }
cookie-factory = { version="0.3.0", optional=true }
displaydoc = "0.2.2"
nom = { version="7.0", default-features=false, features=["std"] }
num-bigint = { version = "0.4", optional = true }
num-traits = "0.2.14"
rusticata-macros = "4.0"
thiserror = "1.0.25"
time = { version="0.3", features=["macros", "parsing", "formatting"], optional=true }
[dev-dependencies]
colored = "2.0"
hex-literal = "0.4"
pem = "3.0"
trybuild = "1.0"
[package.metadata.cargo_check_external_types]
allowed_external_types = [
"nom",
"nom::*",
"asn1_rs_derive",
"asn1_rs_derive::*"
]