2020-02-14 12:20:17 +01:00
|
|
|
[package]
|
2020-02-18 16:55:19 +01:00
|
|
|
name = "diflouroborane"
|
2022-03-07 18:27:54 +01:00
|
|
|
version = "0.4.1"
|
2021-09-30 10:10:33 +02:00
|
|
|
authors = [ "dequbed <me@dequbed.space>"
|
2021-02-23 11:41:37 +01:00
|
|
|
, "Kai Jan Kriegel <kai@kjkriegel.de>"
|
|
|
|
, "Joseph Langosch <thejoklla@gmail.com>"
|
|
|
|
, "Jannis Rieger <omniskopus@gmail.com>"
|
|
|
|
]
|
2022-03-07 18:27:54 +01:00
|
|
|
license = "GPL-3.0"
|
2021-10-27 23:20:35 +02:00
|
|
|
edition = "2021"
|
2021-10-27 23:40:29 +02:00
|
|
|
publish = false
|
2021-11-25 23:36:17 +01:00
|
|
|
readme = "README.md"
|
2022-03-11 22:13:54 +01:00
|
|
|
build = "build.rs"
|
2020-02-14 12:20:17 +01:00
|
|
|
|
2021-10-27 17:03:34 +02:00
|
|
|
[profile.release]
|
|
|
|
opt-level = 3
|
|
|
|
debug = true
|
|
|
|
lto = "thin"
|
2020-10-26 12:58:55 +01:00
|
|
|
|
2021-10-27 23:20:35 +02:00
|
|
|
[lib]
|
|
|
|
path = "bffhd/lib.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "bffhd"
|
|
|
|
path = "bin/bffhd/main.rs"
|
|
|
|
|
2020-02-14 12:20:17 +01:00
|
|
|
[dependencies]
|
2021-10-27 14:49:45 +02:00
|
|
|
libc = "0.2.101"
|
2022-03-11 22:13:54 +01:00
|
|
|
nix = "0.23.1"
|
2021-10-27 14:49:45 +02:00
|
|
|
uuid = { version = "0.8.2", features = ["serde", "v4"] }
|
|
|
|
async-trait = "0.1.51"
|
2021-11-25 23:36:17 +01:00
|
|
|
pin-utils = "0.1.0"
|
2021-12-15 23:42:16 +01:00
|
|
|
futures-util = "0.3"
|
2022-03-10 20:52:34 +01:00
|
|
|
futures-lite = "1.12.0"
|
2022-03-11 22:13:54 +01:00
|
|
|
async-net = "1.6.1"
|
|
|
|
anyhow = "1.0.56"
|
2021-10-06 13:53:14 +02:00
|
|
|
|
2021-10-27 17:03:50 +02:00
|
|
|
# Runtime
|
2021-11-25 23:36:17 +01:00
|
|
|
executor = { path = "runtime/executor" }
|
2021-10-27 17:03:50 +02:00
|
|
|
|
2021-10-27 14:49:45 +02:00
|
|
|
# Catch&Handle POSIX process signals
|
2022-03-11 22:13:54 +01:00
|
|
|
signal-hook = "0.3.13"
|
|
|
|
signal-hook-async-std = "0.2.2"
|
2020-02-18 13:06:25 +01:00
|
|
|
|
2021-10-27 14:49:45 +02:00
|
|
|
# Argument parsing for bin/bffhd.rs
|
2022-03-11 22:13:54 +01:00
|
|
|
clap = { version = "3.1.6", features = ["cargo"] }
|
2020-02-14 12:20:17 +01:00
|
|
|
|
2021-10-27 14:49:45 +02:00
|
|
|
# Internal Databases
|
|
|
|
lmdb-rkv = "0.14.0"
|
2021-10-06 13:53:14 +02:00
|
|
|
rkyv = "0.7"
|
|
|
|
ptr_meta = "0.1"
|
|
|
|
rkyv_typename = "0.7"
|
|
|
|
rkyv_dyn = "0.7"
|
2021-10-18 10:39:31 +02:00
|
|
|
inventory = "0.1"
|
2021-10-27 21:32:50 +02:00
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
2021-10-06 13:53:14 +02:00
|
|
|
|
2021-10-27 14:49:45 +02:00
|
|
|
# Password hashing for internal users
|
|
|
|
rust-argon2 = "0.8.3"
|
|
|
|
rand = "0.8.4"
|
2020-09-15 14:31:10 +02:00
|
|
|
|
2021-10-27 14:49:45 +02:00
|
|
|
# Async aware logging and tracing
|
|
|
|
tracing = "0.1.28"
|
2022-03-11 22:13:54 +01:00
|
|
|
tracing-subscriber = { version = "0.2.25", features = ["env-filter"] }
|
|
|
|
tracing-futures = { version = "0.2.5", features = ["futures-03"] }
|
2020-02-17 14:56:43 +01:00
|
|
|
|
2021-10-27 14:49:45 +02:00
|
|
|
# API
|
2021-10-28 00:32:25 +02:00
|
|
|
api = { path = "api" }
|
|
|
|
capnp = "0.14"
|
2021-10-27 14:49:45 +02:00
|
|
|
capnp-rpc = "0.14.1"
|
2020-02-18 13:06:25 +01:00
|
|
|
|
2021-10-27 14:49:45 +02:00
|
|
|
# API Authentication
|
2022-03-12 17:31:53 +01:00
|
|
|
#rsasl = "2.0.0-preview3"
|
|
|
|
rsasl = { path = "../../rsasl" }
|
2020-04-28 16:51:08 +02:00
|
|
|
|
2021-10-27 14:49:45 +02:00
|
|
|
futures-signals = "0.3.22"
|
|
|
|
async-oneshot = "0.5"
|
2021-10-27 17:53:00 +02:00
|
|
|
async-channel = "1.6"
|
2020-09-15 11:38:15 +02:00
|
|
|
|
2021-10-27 14:49:45 +02:00
|
|
|
# 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"
|
2020-11-24 14:16:22 +01:00
|
|
|
|
2021-11-26 21:01:43 +01:00
|
|
|
once_cell = "1.8"
|
2022-03-08 16:41:38 +01:00
|
|
|
lazy_static = "1.4.0"
|
2021-11-26 21:01:43 +01:00
|
|
|
|
2022-03-07 18:27:54 +01:00
|
|
|
rustls = "0.20"
|
2022-03-11 22:13:54 +01:00
|
|
|
rustls-pemfile = "0.3.0"
|
2022-03-07 18:27:54 +01:00
|
|
|
futures-rustls = "0.22"
|
2021-11-26 21:01:43 +01:00
|
|
|
|
2020-12-01 16:06:39 +01:00
|
|
|
[dev-dependencies]
|
2021-08-29 10:17:55 +02:00
|
|
|
futures-test = "0.3.16"
|
2021-09-10 16:22:58 +02:00
|
|
|
tempfile = "3.2"
|
2021-10-27 23:20:35 +02:00
|
|
|
|
|
|
|
[workspace]
|
2021-11-25 23:36:17 +01:00
|
|
|
members = ["modules/*", "api"]
|