forked from golemfactory/ya-vm-file-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
50 lines (45 loc) · 1.08 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "R9-fileserver"
version = "0.2.3"
authors = ["Golem Factory <[email protected]>"]
edition = "2021"
[dependencies]
env_logger = {version = "0.9", optional = true }
log4rs = {version = "1.0"}
structopt = {version = "0.3", optional = true}
filetime = "0.2"
tokio = { version = "1", features = [
"rt",
"fs",
"io-std",
"io-util",
"macros",
"sync",
"time",
"net"
] }
tokio-stream = { version = "0.1", features = ["fs"] }
async-trait = "0.1"
futures = "0.3"
anyhow = "1.0"
log = "0.4"
num-traits = "0.2"
byteorder = "1.4"
bitflags = "1.3"
enum_primitive = "0.1"
tokio-util = { version = "0.7", features = ["codec"] }
bytes = "1.1"
nix = { version = "0.29.0", features = ["fs"] }
[lib]
name = "ya_vm_file_server"
[features]
build-binary = ["env_logger", "structopt"]
debug-msg = []
[[bin]]
name = "R9-fileserver"
path = "src/main.rs"
required-features = ["build-binary", "debug-msg"]
# packages used in integration tests
[dev-dependencies]
filesystem-rs = { path = "tests/filesystem-rs" }
tempdir = "0.3"