• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2015 Brian Smith.
2#
3# Permission to use, copy, modify, and/or distribute this software for any
4# purpose with or without fee is hereby granted, provided that the above
5# copyright notice and this permission notice appear in all copies.
6#
7# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
8# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
10# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14
15[package]
16authors = ["Brian Smith <brian@briansmith.org>"]
17categories = ["cryptography", "no-std"]
18description = "Web PKI X.509 Certificate Verification."
19edition = "2018"
20license-file = "LICENSE"
21name = "webpki"
22readme = "README.md"
23repository = "https://github.com/briansmith/webpki"
24rust-version = "1.61.0"
25version = "0.22.4"
26
27include = [
28    "Cargo.toml",
29
30    "LICENSE",
31    "README.md",
32
33    "src/**/*.rs",
34    "src/data/**/*",
35
36    "tests/dns_name_tests.rs",
37    "tests/integration.rs",
38    "tests/misc/serial_neg.der",
39    "tests/misc/serial_zero.der",
40    "tests/netflix/ca.der",
41    "tests/netflix/ee.der",
42    "tests/netflix/inter.der",
43    "tests/ed25519/ca.der",
44    "tests/ed25519/ee.der",
45
46    "third-party/chromium/**/*",
47]
48
49[package.metadata.docs.rs]
50all-features = true
51
52[lib]
53name = "webpki"
54
55[features]
56alloc = ["ring/alloc"]
57std = ["alloc"]
58
59[dependencies]
60ring = { version = "0.17.2", default-features = false }
61untrusted = "0.9"
62
63[dev-dependencies]
64base64 = "0.9.1"
65serde = { version = "1.0", features = ["derive"] }
66serde_json = "1.0"
67
68[profile.bench]
69opt-level = 3
70debug = false
71rpath = false
72lto = true
73debug-assertions = false
74codegen-units = 1
75
76[profile.release]
77opt-level = 3
78debug = false
79rpath = false
80lto = true
81debug-assertions = false
82codegen-units = 1
83
84[workspace]
85members = [
86    # Intentionally not a default member.
87    "rcgen-tests",
88]
89