git-subtree-dir: components/rfs git-subtree-split: 9808a5e9fc768edc7d8b1dfa5b91b3f018dff0cb
68 lines
1.5 KiB
TOML
68 lines
1.5 KiB
TOML
[package]
|
|
name = "rfs"
|
|
version = "0.2.0"
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[build-dependencies]
|
|
git-version = "0.3.5"
|
|
|
|
[[bin]]
|
|
name = "rfs"
|
|
path = "src/main.rs"
|
|
required-features = ["build-binary"]
|
|
|
|
[features]
|
|
build-binary = [
|
|
"dep:polyfuse",
|
|
"dep:simple_logger",
|
|
"dep:tempfile",
|
|
"dep:daemonize",
|
|
"dep:clap"
|
|
]
|
|
|
|
[lib]
|
|
name = "rfs"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.44"
|
|
time = "0.3"
|
|
sqlx = { version = "0.7.4", features = [ "runtime-tokio-rustls", "sqlite" ] }
|
|
tokio = { version = "1", features = [ "rt", "rt-multi-thread", "macros"] }
|
|
libc = "0.2"
|
|
futures = "0.3"
|
|
thiserror = "1.0"
|
|
bytes = "1.1.0"
|
|
log = "0.4"
|
|
lru = "0.7.0"
|
|
nix = "0.23.0"
|
|
snap = "1.0.5"
|
|
bb8-redis = "0.13"
|
|
async-trait = "0.1.53"
|
|
url = "2.3.1"
|
|
blake2b_simd = "1"
|
|
aes-gcm = "0.10"
|
|
hex = "0.4"
|
|
rand = "0.8"
|
|
# next are only needed for the binarys
|
|
clap = { version = "4.2", features = ["derive"], optional = true}
|
|
simple_logger = {version = "1.0.1", optional = true}
|
|
daemonize = { version = "0.5", optional = true }
|
|
tempfile = { version = "3.3.0", optional = true }
|
|
workers = { git="https://github.com/threefoldtech/tokio-worker-pool.git" }
|
|
rust-s3 = "0.34.0-rc3"
|
|
openssl = { version = "0.10", features = ["vendored"] }
|
|
regex = "1.9.6"
|
|
which = "6.0"
|
|
reqwest = "0.11"
|
|
|
|
[dependencies.polyfuse]
|
|
branch = "master"
|
|
git = "https://github.com/muhamadazmy/polyfuse"
|
|
optional = true
|
|
|
|
[dev-dependencies]
|
|
reqwest = { version = "0.11", features = ["blocking"] }
|
|
assert_cmd = "2.0"
|