libFenrir/Cargo.toml
Luca Fulchir 62a71a2af5
[transport] uud/uudl, first tests
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2025-03-21 17:57:08 +01:00

91 lines
2.6 KiB
TOML

[package]
name = "fenrir"
version = "0.1.0"
edition = "2024"
# Fenrir won't be ready for a while,
# we might as well use async fn in trait, which is nightly
# remember to update this
rust-version = "1.85.0"
homepage = "https://git.runesauth.com/RunesAuth/libFenrir"
repository = "https://git.runesauth.com/RunesAuth/libFenrir"
license = "Apache-2.0 WITH LLVM-exception"
#license-file = "LICENSE"
keywords = [ "Fenrir", "libFenrir", "authentication" ]
categories = [ "authentication", "cryptography", "network-programming" ]
# keep this until the PoC works
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = [ "lib", "cdylib", "staticlib" ]
[dependencies]
# please keep these in alphabetical order
arc-swap = { version = "1.7" }
arrayref = { version = "0.3" }
async-channel = { version = "2.3" }
# base85 repo has no tags, fix on a commit. v1.1.1 points to older, wrong version
base85 = { git = "https://gitlab.com/darkwyrm/base85", rev = "b5389888aca6208a7563c8dbf2af46a82e724fa1" }
bitmaps = { version = "3.2" }
chacha20poly1305 = { version = "0.10" }
futures = { version = "0.3" }
hkdf = { version = "0.12" }
hwloc2 = {version = "2.2" }
libc = { version = "0.2" }
num-traits = { version = "0.2" }
num-derive = { version = "0.4" }
rand_core = {version = "0.6" }
ring = { version = "0.17" }
bincode = { version = "1.3" }
sha3 = { version = "0.10" }
strum = { version = "0.26" }
strum_macros = { version = "0.26" }
thiserror = { version = "2.0" }
tokio = { version = "1", features = ["full"] }
# PERF: todo linux-only, behind "iouring" feature
#tokio-uring = { version = "0.4" }
tracing = { version = "0.1" }
tracing-test = { version = "0.2" }
trust-dns-resolver = { version = "0.23", features = [ "dnssec-ring" ] }
trust-dns-client = { version = "0.23", features = [ "dnssec" ] }
trust-dns-proto = { version = "0.23" }
# don't use stable dalek. forces zeroize 1.3,
# breaks our and chacha20poly1305
# reason: zeroize is not pure rust,
# so we can't have multiple versions of if
x25519-dalek = { version = "2.0", features = [ "serde", "static_secrets" ] }
zeroize = { version = "1" }
[profile.dev]
opt-level = 0
debug = true
debug-assertions = true
overflow-checks = true
lto = false
panic = 'unwind'
incremental = true
codegen-units = 256
rpath = false
[profile.test]
opt-level = 0
debug = true
debug-assertions = true
overflow-checks = true
lto = false
panic = 'unwind'
incremental = true
codegen-units = 256
rpath = false
#[target.x86_64-unknown-linux-gnu]
#linker = "clang"
#rustflags = ["-C", "link-arg=--ld-path=mold"]