uselesskey-cli 0.6.0

Deterministic fixture generation and export helpers for local secret handoff formats.
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-cli"
version = "0.6.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 = "Deterministic fixture generation and export helpers for local secret handoff formats."
homepage = "https://github.com/EffortlessMetrics/uselesskey"
documentation = "https://docs.rs/uselesskey-cli"
readme = "README.md"
keywords = [
    "cli",
    "fixtures",
    "export",
    "testing",
    "deterministic",
]
categories = [
    "development-tools::testing",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/EffortlessMetrics/uselesskey"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = [
    "generate",
    "rsa-materialize",
]
generate = [
    "dep:uselesskey-rsa",
    "dep:uselesskey-ecdsa",
    "dep:uselesskey-ed25519",
    "dep:uselesskey-hmac",
    "dep:uselesskey-x509",
]
rsa-materialize = ["dep:uselesskey-rsa"]

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

[[bin]]
name = "uselesskey"
path = "src/main.rs"

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

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.base64]
version = "0.22.1"

[dependencies.clap]
version = "4.6.0"
features = ["derive"]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.toml]
version = "1"

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

[dependencies.uselesskey-ecdsa]
version = "0.6.0"
features = ["jwk"]
optional = true

[dependencies.uselesskey-ed25519]
version = "0.6.0"
features = ["jwk"]
optional = true

[dependencies.uselesskey-hmac]
version = "0.6.0"
features = ["jwk"]
optional = true

[dependencies.uselesskey-rsa]
version = "0.6.0"
features = ["jwk"]
optional = true

[dependencies.uselesskey-token]
version = "0.6.0"

[dependencies.uselesskey-x509]
version = "0.6.0"
optional = true

[dev-dependencies.assert_cmd]
version = "2.1.1"

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

[dev-dependencies.predicates]
version = "3.1.3"

[dev-dependencies.serde_json]
version = "1.0.149"

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