2023-02-02 17:33:56 +00:00
|
|
|
[package]
|
2023-02-03 18:18:34 +00:00
|
|
|
|
|
|
|
name = "fenrir"
|
2023-02-02 17:33:56 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-02-03 18:18:34 +00:00
|
|
|
# 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"
|
2023-02-15 10:14:13 +00:00
|
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
2023-02-17 13:59:02 +00:00
|
|
|
#license-file = "LICENSE"
|
2023-02-03 18:18:34 +00:00
|
|
|
keywords = [ "Fenrir", "libFenrir", "authentication" ]
|
|
|
|
categories = [ "authentication", "cryptography", "network-programming" ]
|
|
|
|
|
|
|
|
# keep this until the PoC works
|
|
|
|
publish = false
|
2023-02-02 17:33:56 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2023-02-03 18:18:34 +00:00
|
|
|
[lib]
|
|
|
|
|
|
|
|
crate_type = [ "lib", "cdylib", "staticlib" ]
|
|
|
|
|
2023-02-02 17:33:56 +00:00
|
|
|
[dependencies]
|
2023-02-04 15:21:16 +00:00
|
|
|
# please keep these in alphabetical order
|
2023-02-03 18:18:34 +00:00
|
|
|
|
2023-02-17 13:59:02 +00:00
|
|
|
arc-swap = { version = "1.6" }
|
2023-02-25 14:36:14 +00:00
|
|
|
arrayref = { version = "0.3" }
|
2023-02-24 21:00:56 +00:00
|
|
|
async-channel = { version = "1.8" }
|
2023-02-08 18:03:31 +00:00
|
|
|
# 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" }
|
2023-02-25 21:25:52 +00:00
|
|
|
bitmaps = { version = "3.2" }
|
2023-02-17 22:09:49 +00:00
|
|
|
chacha20poly1305 = { version = "0.10" }
|
2023-02-17 13:59:02 +00:00
|
|
|
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"] }
|
2023-02-03 18:18:34 +00:00
|
|
|
# PERF: todo linux-only, behind "iouring" feature
|
2023-02-17 13:59:02 +00:00
|
|
|
#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" }
|
2023-02-17 22:09:49 +00:00
|
|
|
# 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" ] }
|
2023-02-17 13:59:02 +00:00
|
|
|
zeroize = { version = "1" }
|
2023-02-03 18:18:34 +00:00
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
|
|
|
|
opt-level = 0
|
|
|
|
debug = true
|
|
|
|
debug-assertions = true
|
|
|
|
overflow-checks = true
|
|
|
|
lto = false
|
|
|
|
panic = 'unwind'
|
|
|
|
incremental = true
|
|
|
|
codegen-units = 256
|
|
|
|
rpath = false
|
|
|
|
|