libFenrir/Cargo.toml

73 lines
2.2 KiB
TOML
Raw Normal View History

[package]
name = "fenrir"
version = "0.1.0"
edition = "2021"
# 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.67.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.6" }
arrayref = { version = "0.3" }
async-channel = { version = "1.8" }
# 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 = "d98efbfd171dd9ba48e30a5c88f94db92fc7b3c6" }
bitmaps = { version = "3.2" }
chacha20poly1305 = { version = "0.10" }
futures = { version = "0.3" }
hkdf = { version = "0.12" }
libc = { version = "0.2" }
num-traits = { version = "0.2" }
num-derive = { version = "0.3" }
ring = { version = "0.16" }
bincode = { version = "1.3" }
sha3 = { version = "0.10" }
strum = { version = "0.24" }
strum_macros = { version = "0.24" }
thiserror = { version = "1.0" }
tokio = { version = "1", features = ["full"] }
# PERF: todo linux-only, behind "iouring" feature
#tokio-uring = { version = "0.4" }
tracing = { version = "0.1" }
trust-dns-resolver = { version = "0.22", features = [ "dnssec-ring" ] }
trust-dns-client = { version = "0.22", features = [ "dnssec" ] }
trust-dns-proto = { version = "0.22" }
# 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.0-pre.1", features = [ "serde" ] }
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