cose-key 0.2.0

CoseKey [RFC 8152]
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"
name = "cose-key"
version = "0.2.0"
authors = ["Beltram Maldant"]
build = false
include = [
    "/src/*",
    "/Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CoseKey [RFC 8152]"
documentation = "https://datatracker.ietf.org/doc/html/rfc8152"
readme = false
keywords = [
    "cbor",
    "cose",
]
license = "Apache-2.0"

[features]
bls = ["dep:bls-signatures"]
default = []
ed25519 = ["dep:ed25519-dalek"]
p256 = ["dep:p256"]
p384 = ["dep:p384"]
pem = [
    "dep:pkcs8",
    "pkcs8/pem",
    "ed25519-dalek?/pem",
    "p256?/pem",
    "p384?/pem",
]

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

[dependencies.bls-signatures]
version = "0.15"
optional = true

[dependencies.ciborium]
version = "0.2"
default-features = false

[dependencies.coset]
version = "0.4"
default-features = false

[dependencies.ed25519-dalek]
version = "2.2"
optional = true
default-features = false

[dependencies.p256]
version = "0.13"
features = ["ecdsa"]
optional = true
default-features = false

[dependencies.p384]
version = "0.13"
features = ["ecdsa"]
optional = true
default-features = false

[dependencies.pkcs8]
version = "0.10"
features = ["std"]
optional = true

[dependencies.serde]
version = "1.0"
default-features = false

[dependencies.thiserror]
version = "2.0"
default-features = false

[dev-dependencies.ed25519-dalek]
version = "2.2"
features = ["rand_core"]

[dev-dependencies.getrandom]
version = "0.2"
features = ["js"]

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.wasm-bindgen-test]
version = "0.3"