# 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 = "2021"
name = "dcrypt-api"
version = "0.14.0-beta.1"
authors = ["Heath Ledger"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Public API traits and types for the dcrypt library"
readme = false
license = "Apache-2.0"
repository = "https://github.com/DePINNetwork/dcrypt"

[package.metadata.release]
publish = true

[features]
alloc = []
default = ["std"]
no_std = []
serde = ["dep:serde"]
std = [
    "thiserror",
    "zeroize/std",
    "alloc",
]

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

[dependencies.dcrypt-internal]
version = "=0.14.0-beta.1"

[dependencies.rand]
version = "0.8.5"
optional = false

[dependencies.serde]
version = "1.0.147"
features = ["derive"]
optional = true

[dependencies.subtle]
version = "2.4.1"

[dependencies.thiserror]
version = "1.0.37"
optional = true

[dependencies.zeroize]
version = "1.5.7"
features = ["zeroize_derive"]

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