[package]
edition = "2024"
rust-version = "1.85"
name = "enprot"
version = "0.4.1"
authors = ["Ribose Inc. <open.source@ribose.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Engyon Protected Text (EPT) — confidentiality processor and capability ledger"
homepage = "https://github.com/engyon/enprot"
documentation = "https://docs.rs/enprot"
readme = "README.md"
keywords = [
"encryption",
"engyon",
"ept",
"botan",
"blockchain",
]
categories = [
"command-line-utilities",
"cryptography",
]
license = "BSD-2-Clause"
repository = "https://github.com/engyon/enprot"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
cli = [
"dep:clap",
"dep:clap_complete",
]
default = ["cli"]
[lib]
name = "enprot"
path = "src/lib.rs"
[[bin]]
name = "enprot"
path = "src/main.rs"
required-features = ["cli"]
[[example]]
name = "basic_encrypt_decrypt"
path = "examples/basic_encrypt_decrypt.rs"
[[example]]
name = "keygen_sign_verify"
path = "examples/keygen_sign_verify.rs"
[[example]]
name = "merkle_proof"
path = "examples/merkle_proof.rs"
[[test]]
name = "integration"
path = "tests/tests.rs"
[[test]]
name = "proptest_roundtrip"
path = "tests/proptest_roundtrip.rs"
[[bench]]
name = "crypto"
path = "benches/crypto.rs"
harness = false
[[bench]]
name = "merkle"
path = "benches/merkle.rs"
harness = false
[[bench]]
name = "parser"
path = "benches/parser.rs"
harness = false
[dependencies.aes-gcm-siv]
version = "0.11"
[dependencies.botan]
version = "0.11"
features = [
"botan3",
"pkg-config",
]
[dependencies.clap]
version = "4.5"
features = [
"derive",
"wrap_help",
]
optional = true
[dependencies.clap_complete]
version = "4"
optional = true
[dependencies.hex]
version = "0.4"
[dependencies.phf]
version = "0.14"
features = ["macros"]
[dependencies.rpassword]
version = "7"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.8"
[dependencies.zeroize]
version = "1"
features = ["alloc"]
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.cpu-time]
version = "1.0"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true