uselesskey-ecdsa 0.4.0

ECDSA P-256/P-384 key fixtures (PKCS#8/SPKI, PEM/DER) for tests.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.92"
name = "uselesskey-ecdsa"
version = "0.4.0"
authors = ["Effortless Metrics <opensource@effortlessmetrics.com>"]
build = false
exclude = [
    "fuzz/**",
    "corpus/**",
    "**/*.der",
    "**/*.pem",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ECDSA P-256/P-384 key fixtures (PKCS#8/SPKI, PEM/DER) for tests."
homepage = "https://github.com/EffortlessMetrics/uselesskey"
documentation = "https://docs.rs/uselesskey-ecdsa"
readme = "README.md"
keywords = [
    "ecdsa",
    "p256",
    "p384",
    "fixtures",
    "testing",
]
categories = [
    "development-tools::testing",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/EffortlessMetrics/uselesskey"
resolver = "2"

[package.metadata.docs.rs]
features = ["jwk"]

[features]
default = []
jwk = [
    "dep:serde_json",
    "dep:base64",
    "dep:uselesskey-jwk",
]

[lib]
name = "uselesskey_ecdsa"
path = "src/lib.rs"

[[test]]
name = "cache_coherence"
path = "tests/cache_coherence.rs"

[[test]]
name = "coverage_gaps"
path = "tests/coverage_gaps.rs"

[[test]]
name = "ecdsa_prop"
path = "tests/ecdsa_prop.rs"

[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"

[[test]]
name = "error_paths"
path = "tests/error_paths.rs"

[[test]]
name = "format_roundtrip"
path = "tests/format_roundtrip.rs"

[[test]]
name = "jwk_private"
path = "tests/jwk_private.rs"

[[test]]
name = "keypair"
path = "tests/keypair.rs"

[[test]]
name = "mutant_killers"
path = "tests/mutant_killers.rs"

[[test]]
name = "mutation_hardening"
path = "tests/mutation_hardening.rs"

[[test]]
name = "negative_validation"
path = "tests/negative_validation.rs"

[[test]]
name = "snapshots_ecdsa"
path = "tests/snapshots_ecdsa.rs"

[[test]]
name = "testutil"
path = "tests/testutil.rs"

[dependencies.base64]
version = "0.22.1"
optional = true

[dependencies.elliptic-curve]
version = "0.13"
features = [
    "pkcs8",
    "pem",
    "sec1",
]

[dependencies.p256]
version = "0.13"
features = [
    "ecdsa",
    "pkcs8",
    "pem",
]

[dependencies.p384]
version = "0.13"
features = [
    "ecdsa",
    "pkcs8",
    "pem",
]

[dependencies.rand_chacha]
version = "0.3.1"
default-features = false

[dependencies.rand_core]
version = "0.6.4"
default-features = false

[dependencies.serde_json]
version = "1.0.149"
optional = true

[dependencies.uselesskey-core]
version = "0.4.0"

[dependencies.uselesskey-core-keypair-material]
version = "0.4.0"

[dependencies.uselesskey-jwk]
version = "0.4.0"
optional = true

[dev-dependencies.insta]
version = "1.46.3"
features = [
    "yaml",
    "redactions",
]

[dev-dependencies.proptest]
version = "1.10.0"

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.uselesskey-core-kid]
version = "0.4.0"