pask-wire 0.1.0

SCITT-native COSE receipt library for Physical-Site Engagement Receipts; implements the wilder.pser/0.5 and 0.6 profiles
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.88"
name = "pask-wire"
version = "0.1.0"
authors = ["Wilder Management Inc. (dba Wilder Robotics) <rob@wilder-robotics.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SCITT-native COSE receipt library for Physical-Site Engagement Receipts; implements the wilder.pser/0.5 and 0.6 profiles"
homepage = "https://pask-witness.com"
documentation = "https://docs.rs/pask-wire"
readme = "README.md"
keywords = [
    "cose",
    "scitt",
    "receipts",
    "robotics",
    "attestation",
]
categories = [
    "cryptography",
    "encoding",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/wilder-robotics/pask-workspace"

[package.metadata.docs.rs]
features = [
    "alloc",
    "es256",
]

[features]
alloc = [
    "dep:coset",
    "dep:fluent-uri",
    "dep:ed25519-dalek",
    "dep:serde",
    "dep:ryu-js",
    "dep:serde_json",
    "dep:sha2",
    "dep:time",
]
default = []
es256 = [
    "alloc",
    "dep:p256",
]
std = ["alloc"]

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

[[example]]
name = "export_fixture"
path = "examples/export_fixture.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.coset]
version = "0.4.2"
optional = true
default-features = false

[dependencies.ed25519-dalek]
version = "2.2.0"
features = [
    "pem",
    "pkcs8",
]
optional = true
default-features = false

[dependencies.fluent-uri]
version = "0.4.1"
features = ["alloc"]
optional = true
default-features = false

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

[dependencies.ryu-js]
version = "1.0.3"
optional = true
default-features = false

[dependencies.serde]
version = "1.0.219"
features = ["derive"]
optional = true
default-features = false

[dependencies.serde_json]
version = "1.0.140"
features = [
    "alloc",
    "float_roundtrip",
]
optional = true
default-features = false

[dependencies.sha2]
version = "0.10.9"
optional = true
default-features = false

[dependencies.time]
version = "=0.3.55"
features = ["parsing"]
optional = true
default-features = false

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

[dev-dependencies.ed25519-dalek]
version = "2.2.0"
features = ["rand_core"]
default-features = false

[dev-dependencies.hex]
version = "0.4.3"
features = ["alloc"]
default-features = false

[dev-dependencies.rand_core]
version = "0.6.4"
features = ["getrandom"]

[dev-dependencies.serde_json]
version = "1.0.140"
features = [
    "alloc",
    "float_roundtrip",
]
default-features = false

[lints.rust]
unsafe_code = "forbid"