cf3fd00350
* - standardise versions for all nym-sdk workspace dependencies - prepend sqlx-pool-guard with 'nym-' * Test remove nym-api from deps * Add oneliner to client_pool doc comments * Add note to commented out docs.rs link in sdk * remove nym-api from script * add publishing file * bring non-binary / contract / tools into workspace version * added more info to publishing.md * make deps workspace version * remove uploaded sphinx-types crate from script * remove erroueously included ignore-defaults * add zeroise to feature * chore: Release * add topology to batch * more cargo versioning * more cargo versioning - wasm utils * more cargo versioning - wasm utils * Add publish=false to manifest for cargo workspaces / crates.io publishing exclusion * remove script now switched to manifest based exclusion * rename import based on rename of contracts-common dep * Making workspace versions for publication + removing unnecessary crates from publication * Remove OOD info from publishing sdk guide * rename contract imports + remove package * temp commit: continuing with removal of path from cargo manifest and replacing with workspace version import for publication * continuing with cargo.toml updates * dryrun only erroring on known version problem crates * remove old published-crates file * Minor comment change * remove default features warning * Additional info on workspace dep comment re publish list * Add missing description to cargo.toml * Fix missing feature flags * Add missing descriptions * Fix remaining path import * Add workspace repo / homepage / documentation links to cargo.toml files * remove workspace version from excluded crate * Remove todo descriptions * Minor comment change * add homepage etc * move from bls git import to nym_bls_fork crate * Modify rest of imports from path to workspace import, excluding binaries * add directory/homepage info * fix cargo fmt * add notes to gitignore * better solution to contracts/ experiment * wasm -> nym_wasm crate renaming * fix fatfinger * add metadata to ecash cargo.toml * stub publishing guide * fix misrevolved netlink- version * Fixes and block publication of rebase re: LP * first pass @ workflows
58 lines
2.2 KiB
TOML
58 lines
2.2 KiB
TOML
[package]
|
|
name = "nym-crypto"
|
|
version.workspace = true
|
|
description = "Crypto library for the nym mixnet"
|
|
edition = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
repository = { workspace = true }
|
|
|
|
[dependencies]
|
|
aes-gcm-siv = { workspace = true, optional = true }
|
|
aes = { workspace = true, optional = true }
|
|
aead = { workspace = true, optional = true }
|
|
base64.workspace = true
|
|
bs58 = { workspace = true }
|
|
blake3 = { workspace = true, features = ["traits-preview"], optional = true }
|
|
ctr = { workspace = true, optional = true }
|
|
curve25519-dalek = { workspace = true, optional = true }
|
|
digest = { workspace = true, optional = true }
|
|
generic-array = { workspace = true, optional = true }
|
|
hkdf = { workspace = true, optional = true }
|
|
hmac = { workspace = true, optional = true }
|
|
jwt-simple = { workspace = true, optional = true }
|
|
cipher = { workspace = true, optional = true }
|
|
x25519-dalek = { workspace = true, features = ["static_secrets"], optional = true }
|
|
ed25519-dalek = { workspace = true, features = ["rand_core"], optional = true }
|
|
rand = { workspace = true, optional = true }
|
|
serde_bytes = { workspace = true, optional = true }
|
|
serde = { workspace = true, features = ["derive"], optional = true }
|
|
sha2 = { workspace = true, optional = true }
|
|
subtle-encoding = { workspace = true, features = ["bech32-preview"] }
|
|
thiserror = { workspace = true }
|
|
zeroize = { workspace = true, optional = true, features = ["zeroize_derive"] }
|
|
|
|
# internal
|
|
nym-sphinx-types = { workspace = true }
|
|
nym-pemstore = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
anyhow = { workspace = true }
|
|
rand_chacha = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
nym-test-utils = { workspace = true }
|
|
|
|
|
|
[features]
|
|
default = []
|
|
aead = ["dep:aead", "aead/std", "aes-gcm-siv", "generic-array"]
|
|
naive_jwt = ["asymmetric", "jwt-simple"]
|
|
serde = ["dep:serde", "serde_bytes", "ed25519-dalek/serde", "x25519-dalek/serde"]
|
|
asymmetric = ["x25519-dalek", "ed25519-dalek", "curve25519-dalek", "sha2", "zeroize"]
|
|
hashing = ["blake3", "digest", "hkdf", "hmac", "generic-array", "sha2", "zeroize"]
|
|
stream_cipher = ["aes", "ctr", "cipher", "generic-array"]
|
|
sphinx = ["nym-sphinx-types/sphinx"]
|
|
|
|
[lints]
|
|
workspace = true
|