mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-12-22 11:43:49 +01:00
129 lines
2.8 KiB
TOML
129 lines
2.8 KiB
TOML
[package]
|
|
name = "diflouroborane"
|
|
version = "0.4.2"
|
|
authors = [ "dequbed <me@dequbed.space>"
|
|
, "Kai Jan Kriegel <kai@kjkriegel.de>"
|
|
, "Joseph Langosch <thejoklla@gmail.com>"
|
|
, "Jannis Rieger <omniskopus@gmail.com>"
|
|
]
|
|
license = "GPL-3.0"
|
|
edition = "2021"
|
|
publish = false
|
|
readme = "README.md"
|
|
build = "build.rs"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = true
|
|
lto = "thin"
|
|
|
|
[lib]
|
|
path = "bffhd/lib.rs"
|
|
# Don't run unit tests on `cargo test --tests`, only run integration tests.
|
|
test = false
|
|
|
|
[[bin]]
|
|
name = "bffhd"
|
|
path = "bin/bffhd/main.rs"
|
|
# Don't run unit tests on `cargo test --tests`, only run integration tests.
|
|
test = false
|
|
|
|
[dependencies]
|
|
libc = "0.2.101"
|
|
nix = "0.23.1"
|
|
uuid = { version = "0.8.2", features = ["serde", "v4"] }
|
|
async-trait = "0.1.51"
|
|
pin-utils = "0.1.0"
|
|
futures-util = "0.3"
|
|
futures-lite = "1.12.0"
|
|
async-net = "1.6.1"
|
|
async-io = "1.7.0"
|
|
async-process = "1.4.0"
|
|
backtrace = "0.3.65"
|
|
miette = { version = "4.7.1", features = ["fancy"] }
|
|
thiserror = "1.0.31"
|
|
toml = "0.5.8"
|
|
|
|
# Well-known paths/dirs for e.g. cache
|
|
dirs = "4.0.0"
|
|
|
|
# Runtime
|
|
executor = { path = "runtime/executor" }
|
|
lightproc = { path = "runtime/lightproc" }
|
|
console = { path = "runtime/console" }
|
|
|
|
# Catch&Handle POSIX process signals
|
|
signal-hook = "0.3.13"
|
|
signal-hook-async-std = "0.2.2"
|
|
|
|
# Argument parsing for bin/bffhd.rs
|
|
clap = { version = "3.1.6", features = ["cargo"] }
|
|
|
|
# Internal Databases
|
|
lmdb-rkv = "0.14.0"
|
|
rkyv = { version = "0.7", features = [] }
|
|
ptr_meta = "0.1"
|
|
rkyv_typename = "0.7"
|
|
rkyv_dyn = "0.7"
|
|
inventory = "0.1"
|
|
linkme = "0.2.10"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# Password hashing for internal users
|
|
rust-argon2 = "0.8.3"
|
|
rand = "0.8.4"
|
|
|
|
# Async aware logging and tracing
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "registry", "std"] }
|
|
tracing-futures = { version = "0.2", features = ["futures-03"] }
|
|
|
|
# API
|
|
api = { path = "api" }
|
|
capnp = "0.14"
|
|
capnp-rpc = "0.14.1"
|
|
|
|
# API Authentication
|
|
desfire = "0.2.0-alpha3"
|
|
|
|
hex = { version = "0.4.3", features = ["serde"] }
|
|
|
|
futures-signals = "0.3.22"
|
|
async-oneshot = "0.5"
|
|
async-channel = "1.6"
|
|
|
|
# Config and Database (De)Serialization
|
|
serde = { version = "1.0.130", features = ["derive"] }
|
|
erased-serde = "0.3"
|
|
serde_dhall = { version = "0.10.1", default-features = false }
|
|
serde_json = "1.0"
|
|
|
|
once_cell = "1.8"
|
|
lazy_static = "1.4.0"
|
|
|
|
rustls = "0.20"
|
|
rustls-pemfile = "0.3.0"
|
|
futures-rustls = "0.22"
|
|
|
|
rumqttc = "0.11.0"
|
|
async-compat = "0.2.1"
|
|
url = "2.2.2"
|
|
rustls-native-certs = "0.6.1"
|
|
|
|
shadow-rs = "0.11"
|
|
|
|
[dependencies.rsasl]
|
|
version = "2.0.0"
|
|
default_features = false
|
|
features = ["unstable_custom_mechanism", "provider", "registry_static", "config_builder", "plain"]
|
|
|
|
[dev-dependencies]
|
|
futures-test = "0.3.16"
|
|
tempfile = "3.2"
|
|
|
|
[build-dependencies]
|
|
shadow-rs = "0.11"
|
|
|
|
[workspace]
|
|
members = ["runtime/*", "modules/*", "api"]
|