# 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 = "masp_note_encryption"
version = "2.0.0"
authors = [
    "Jack Grigg <jack@electriccoin.co>",
    "Kris Nuttycombe <kris@electriccoin.co>",
    "joe@heliax.dev",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Note encryption for MASP transactions"
homepage = "https://github.com/namada-net/masp"
readme = "README.md"
categories = ["cryptography::cryptocurrencies"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/namada-net/masp"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = []
arbitrary = ["dep:arbitrary"]
default = ["alloc"]
pre-zip-212 = []

[lib]
name = "masp_note_encryption"
path = "src/lib.rs"
bench = false

[dependencies.arbitrary]
version = "1.3"
features = ["derive"]
optional = true

[dependencies.borsh]
version = "1.2.0"
features = [
    "unstable__schema",
    "derive",
]

[dependencies.chacha20]
version = "0.9"
default-features = false

[dependencies.chacha20poly1305]
version = "0.10"
default-features = false

[dependencies.cipher]
version = "0.4"
default-features = false

[dependencies.rand_core]
version = "0.6"
default-features = false

[dependencies.subtle]
version = "2.3"
default-features = false
