webpki/Cargo.toml

89 lines
2.1 KiB
TOML
Raw Normal View History

2015-08-11 22:03:43 +00:00
# Copyright 2015 Brian Smith.
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
[package]
authors = ["Brian Smith <brian@briansmith.org>"]
2017-04-02 04:28:03 +00:00
categories = ["cryptography", "no-std"]
2015-08-11 22:03:43 +00:00
description = "Web PKI X.509 Certificate Verification."
2019-03-21 23:01:29 +00:00
edition = "2018"
2015-08-11 22:03:43 +00:00
license-file = "LICENSE"
name = "webpki"
readme = "README.md"
repository = "https://github.com/briansmith/webpki"
2023-10-07 06:25:43 +00:00
rust-version = "1.61.0"
2023-10-09 00:30:51 +00:00
version = "0.22.4"
2016-08-16 01:31:51 +00:00
include = [
"Cargo.toml",
"LICENSE",
"README.md",
"src/**/*.rs",
"src/data/**/*",
"tests/dns_name_tests.rs",
"tests/integration.rs",
"tests/misc/serial_neg.der",
"tests/misc/serial_zero.der",
"tests/netflix/ca.der",
"tests/netflix/ee.der",
"tests/netflix/inter.der",
"tests/ed25519/ca.der",
"tests/ed25519/ee.der",
"third-party/chromium/**/*",
2016-08-16 01:31:51 +00:00
]
2015-08-11 22:03:43 +00:00
[package.metadata.docs.rs]
all-features = true
2015-08-11 22:03:43 +00:00
[lib]
name = "webpki"
[features]
alloc = ["ring/alloc"]
std = ["alloc"]
[dependencies]
2024-02-17 23:08:36 +00:00
ring = { version = "0.17.8", default-features = false }
untrusted = "0.9"
[dev-dependencies]
Revert main branch crate contents to the 0.22.0 release contents. Reset the crate contents (sources, tests, etc.) to what they were at that commit, while retaining the newer CI configuration. The changes since the 0.22.0 release were primarily intended to accomplish two goals: * Fix and improve the GitHub Actions configuration. * Prepare a 0.21.5 release that was backward compatible with 0.21.4 but which also contained the improvements that were in 0.22.0. 0.21.5 was never released and will not be released. Therefore all of the noise to facilitate the 0.21.5 release can just be deleted, as long as we leave the CI changes that are necessary for GitHub Actions to work correctly now. The exact commands I used were: ``` git checkout \ 6c334a2cf5853fb0aa93b5eb0318c031fc2f6f98 \ -- \ Cargo.toml \ LICENSE \ README.md \ src \ tests \ third-party git rm src/trust_anchor_util.rs ``` Commit 6c334a2cf5853fb0aa93b5eb0318c031fc2f6f98 was the commit from which 0.22.0 was released. It is confusing because the commit immediately prior, 0b7cbf2d327d7665d9d06072bf46b2e7ca05f065, has commit message "0.22.0". It appears that I merged the "0.22.0" commit, expecting to `cargo publish` from that commit, but then `cargo publish` failed. Then I added 6c334a2cf5853fb0aa93b5eb0318c031fc2f6f98 to fix `cargo publish` and did the `cargo publish` from that commit. That's why I added the `package` CI step at that time, to prevent this confusing situation from happening again. `trust_anchor_utils.rs` was not in 0.22.0; the `git checkout` didn't delete it, so I had to do it separately. I left the tests added subsequent to 0.22.0 in `tests/` (e.g. `name_tests.rs`) since those tests pass with the 0.22.0 sources too. Unfortunately, this requires disabling a bunch of Clippy lints, to avoid modifying the contents from 0.22.0. (I know it is confusing. It took me a while to figure it out myself today.)
2023-08-30 01:13:07 +00:00
base64 = "0.9.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
[profile.bench]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
2015-08-11 22:03:43 +00:00
[profile.release]
opt-level = 3
debug = false
2015-08-11 22:03:43 +00:00
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
[workspace]
members = [
# Intentionally not a default member.
"rcgen-tests",
]