2020-02-14 12:20:17 +01:00
|
|
|
[package]
|
2020-02-18 16:55:19 +01:00
|
|
|
name = "diflouroborane"
|
2022-05-13 18:29:09 +02:00
|
|
|
version = "0.4.2"
|
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"
|
2022-05-05 18:02:56 +02:00
|
|
|
# Don't run unit tests on `cargo test --tests`, only run integration tests.
|
|
|
|
test = false
|
2021-10-27 23:20:35 +02:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "bffhd"
|
|
|
|
path = "bin/bffhd/main.rs"
|
2022-05-05 18:02:56 +02:00
|
|
|
# Don't run unit tests on `cargo test --tests`, only run integration tests.
|
|
|
|
test = false
|
2021-10-27 23:20:35 +02:00
|
|
|
|
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"
|
2022-06-07 14:05:46 +02:00
|
|
|
async-io = "1.7.0"
|
2022-06-02 17:46:26 +02:00
|
|
|
backtrace = "0.3.65"
|
|
|
|
miette = { version = "4.7.1", features = ["fancy"] }
|
|
|
|
thiserror = "1.0.31"
|
2022-03-13 22:50:37 +01:00
|
|
|
toml = "0.5.8"
|
2021-10-06 13:53:14 +02:00
|
|
|
|
2022-03-15 16:27:41 +01:00
|
|
|
# Well-known paths/dirs for e.g. cache
|
|
|
|
dirs = "4.0.0"
|
|
|
|
|
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"
|
2022-03-15 16:27:41 +01:00
|
|
|
rkyv = { version = "0.7", features = [] }
|
2021-10-06 13:53:14 +02:00
|
|
|
ptr_meta = "0.1"
|
|
|
|
rkyv_typename = "0.7"
|
|
|
|
rkyv_dyn = "0.7"
|
2021-10-18 10:39:31 +02:00
|
|
|
inventory = "0.1"
|
2022-03-20 21:22:15 +01:00
|
|
|
linkme = "0.2.10"
|
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-16 19:29:36 +01:00
|
|
|
desfire = "0.2.0-alpha1"
|
|
|
|
hex = { version = "0.4.3", features = ["serde"] }
|
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
|
|
|
|
2022-03-13 21:30:26 +01:00
|
|
|
rumqttc = "0.11.0"
|
|
|
|
async-compat = "0.2.1"
|
|
|
|
url = "2.2.2"
|
|
|
|
rustls-native-certs = "0.6.1"
|
|
|
|
|
2022-05-18 17:01:03 +02:00
|
|
|
shadow-rs = "0.11"
|
|
|
|
|
2022-04-27 17:21:07 +02:00
|
|
|
[dependencies.rsasl]
|
|
|
|
git = "https://github.com/dequbed/rsasl.git"
|
|
|
|
rev = "0b5012d0"
|
|
|
|
default_features = false
|
|
|
|
features = ["unstable_custom_mechanism", "provider", "registry_static", "plain"]
|
|
|
|
|
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
|
|
|
|
2022-05-18 17:01:03 +02:00
|
|
|
[build-dependencies]
|
|
|
|
shadow-rs = "0.11"
|
|
|
|
|
2021-10-27 23:20:35 +02:00
|
|
|
[workspace]
|
2022-03-17 02:13:09 +01:00
|
|
|
members = ["modules/*", "api"]
|