• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2description = "Parser/encoder for ASN.1 BER/DER data"
3license = "MIT/Apache-2.0"
4keywords = ["BER","DER","ASN1","parser","nom"]
5homepage = "https://github.com/rusticata/der-parser"
6repository = "https://github.com/rusticata/der-parser.git"
7name = "der-parser"
8version = "6.0.0"
9authors = ["Pierre Chifflier <chifflier@wzdftpd.net>"]
10categories = ["parser-implementations"]
11readme = "README.md"
12edition = "2018"
13
14include = [
15  "LICENSE-*",
16  "CHANGELOG.md",
17  "README.md",
18  "UPGRADING.md",
19  ".gitignore",
20  "Cargo.toml",
21  "bench/*.rs",
22  "src/*.rs",
23  "src/ber/*.rs",
24  "src/der/*.rs",
25  "tests/*.rs",
26  "der-oid-macro/Cargo.toml",
27  "der-oid-macro/src/*.rs",
28]
29
30[package.metadata.docs.rs]
31all-features = true
32rustdoc-args = ["--cfg", "docsrs"]
33
34[dependencies]
35bitvec = { version="0.22", optional=true }
36cookie-factory = { version="0.3.0", optional=true }
37nom = "7.0"
38rusticata-macros = "4.0"
39num-traits = "0.2"
40num-bigint = { version = "0.4", optional = true }
41
42der-oid-macro = { version = "0.5", path = "./der-oid-macro" }
43
44[features]
45default = ["std"]
46bigint = ["num-bigint"]
47serialize = ["std", "cookie-factory"]
48unstable = []
49std = []
50
51[dev-dependencies]
52hex-literal = "0.3"
53pretty_assertions = "0.7"
54test-case = "1.0"
55