sharenet_passport_creator/libs/sharenet-passport/Cargo.toml

38 lines
No EOL
1.1 KiB
TOML

[package]
name = "sharenet-passport"
version = "0.1.0"
publish = ["sharenet-sh-forgejo"] # Set this to whichever Cargo registry you are publishing to
edition = "2021"
description = "Core library for Sharenet Passport creation and management"
authors = ["Continuist <continuist02@gmail.com>"]
license = "CC-BY-NC-SA-4.0"
repository = "https://git.sharenet.sh/your-org/sharenet-passport"
readme = "README.md"
keywords = ["cryptography", "identity", "passport", "sharenet"]
categories = ["cryptography", "authentication"]
[dependencies]
bip39 = "2.1"
ed25519-dalek = { version = "2.1", features = ["serde"] }
chacha20poly1305 = "0.10"
hkdf = "0.12"
sha2 = "0.10"
rand = "0.8"
rand_core = "0.6"
serde = { version = "1.0", features = ["derive"] }
serde_cbor = "0.11"
thiserror = "1.0"
zeroize = { version = "1.7", features = ["zeroize_derive"] }
hex = "0.4"
[lib]
crate-type = ["cdylib", "rlib"] # Support both native and WASM
[features]
default = ["std"]
std = [] # Standard library support
alloc = [] # No-std with alloc support
wasm = ["alloc"] # WASM target support
[dev-dependencies]
tempfile = "3.8"