auths-crypto 0.0.1-rc.7

Cryptographic primitives for Auths: KERI key parsing and DID:key encoding
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 = "auths-crypto"
version = "0.0.1-rc.7"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cryptographic primitives for Auths: KERI key parsing and DID:key encoding"
homepage = "https://github.com/auths-dev/auths"
readme = false
keywords = [
    "cryptography",
    "ed25519",
    "did",
    "verification",
    "signing",
]
categories = ["cryptography"]
license = "Apache-2.0"
repository = "https://github.com/auths-dev/auths"

[features]
default = ["native"]
native = [
    "dep:ring",
    "dep:tokio",
]
test-utils = ["dep:ring"]
wasm = [
    "dep:js-sys",
    "dep:wasm-bindgen",
    "dep:wasm-bindgen-futures",
    "dep:web-sys",
]

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

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

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

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

[dependencies.base64]
version = "0.22.1"

[dependencies.bs58]
version = "0.5.1"

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.ssh-key]
version = "0.6"
features = ["ed25519"]

[dependencies.thiserror]
version = "2"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true

[dependencies.web-sys]
version = "0.3"
features = [
    "Crypto",
    "CryptoKey",
    "SubtleCrypto",
]
optional = true

[dependencies.zeroize]
version = "1.8"
features = ["derive"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ring]
version = "0.17.14"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.ring]
version = "0.17.14"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "macros",
    "rt",
]

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"

[lints.clippy]
print_stderr = "deny"
print_stdout = "deny"