sigstore-verification 0.2.2

Sigstore, Cosign, and SLSA attestation verification library
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.85"
name = "sigstore-verification"
version = "0.2.2"
authors = ["Jeff Dickey (@jdx)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sigstore, Cosign, and SLSA attestation verification library"
homepage = "https://github.com/jdx/sigstore-verification"
documentation = "https://docs.rs/sigstore-verification"
readme = "README.md"
license = "MIT"
repository = "https://github.com/jdx/sigstore-verification"

[features]
default = ["native-tls"]
native-tls = [
    "reqwest/native-tls",
    "sigstore/native-tls",
]
rustls = [
    "reqwest/rustls",
    "sigstore/rustls-tls",
]
rustls-native-roots = [
    "reqwest/rustls",
    "sigstore/rustls-tls-native-roots",
]

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.ed25519-dalek]
version = "2"
features = ["pem"]

[dependencies.hex]
version = "0.4"

[dependencies.log]
version = "0.4"

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

[dependencies.p384]
version = "0.13"
features = ["ecdsa"]

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "query",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.signature]
version = "2"

[dependencies.sigstore]
version = "0.13"
features = [
    "bundle",
    "sigstore-trust-root",
    "cosign",
    "rekor",
    "fulcio",
    "ring",
]
default-features = false

[dependencies.snap]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.x509-parser]
version = "0.18"

[dev-dependencies.mockito]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio-test]
version = "0.4"