[package]
edition = "2024"
name = "teter-core"
version = "26.11.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "What teter's clients share without I/O: end-to-end encryption, account crypto, signed commands"
readme = "README.md"
keywords = [
"terminal",
"e2e",
"encryption",
"wasm",
]
categories = [
"cryptography",
"wasm",
]
license = "MIT"
repository = "https://gitlab.com/alteronauta/teter"
[lib]
name = "teter_core"
path = "src/lib.rs"
[[test]]
name = "vectors"
path = "tests/vectors.rs"
[dependencies.argon2]
version = "0.5"
features = ["alloc"]
default-features = false
[dependencies.chacha20poly1305]
version = "0.10"
features = ["alloc"]
default-features = false
[dependencies.ed25519-dalek]
version = "2"
features = [
"std",
"zeroize",
]
default-features = false
[dependencies.getrandom]
version = "0.3"
features = ["std"]
[dependencies.hkdf]
version = "0.12"
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.teter-common]
version = "=26.11.7"
[dependencies.thiserror]
version = "2"
[dependencies.x25519-dalek]
version = "2"
features = [
"static_secrets",
"zeroize",
]
default-features = false
[dependencies.zeroize]
version = "1"
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.getrandom]
version = "0.3"
features = [
"std",
"wasm_js",
]
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.uuid]
version = "1"
features = ["js"]
[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
dbg_macro = "deny"
disallowed_methods = "deny"
disallowed_types = "deny"
exit = "deny"
expect_used = "deny"
indexing_slicing = "deny"
let_underscore_must_use = "deny"
map_err_ignore = "deny"
mem_forget = "deny"
panic = "deny"
string_slice = "deny"
todo = "deny"
too_many_lines = "deny"
unimplemented = "deny"
unreachable = "deny"
unused_result_ok = "deny"
unwrap_used = "deny"
wildcard_enum_match_arm = "deny"
wildcard_imports = "deny"
[lints.rust]
missing_docs = "deny"
unsafe_code = "deny"
unused_must_use = "deny"