-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
75 lines (61 loc) · 1.93 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "rustyshare"
version = "0.1.2"
authors = ["sehraf <[email protected]>"]
edition = "2021"
[features]
default = ["webui_actix"]
webui_actix = ["actix-web", "actix-files", "mime"]
use_tracing = ["tracing", "tracing-subscriber", "tracing-log", "flexi_logger/trc"]
[dependencies]
retroshare_compat = { path = "retroshare_compat" }
# chrono = "^0"
rpassword = "5.0.1" # 6.0 pulls in serde ... yes a crate that reads password depends on serde and serde_json: https://github.com/conradkleinespel/rpassword/issues/68
getset = "0.1"
dirs = "4.0"
sequoia-openpgp = "1.9"
openssl = "0.10"
byteorder = "1.4"
base64 = "0.13"
hex = { version = "0.4", features = ["serde"] }
nanorand = "0.7"
# logging
log = "0.4"
# pretty_env_logger = "0.4"
# env_logger = "0.9"
flexi_logger = { version = "0.22", features = [
"use_chrono_for_offset",
"async",
# "trc",
] }
# Tokio debugging
console-subscriber = "0.1"
# tracing
tracing = { version = "0.1", features = ["log"], optional = true }
tracing-subscriber = { version = "0.3", features = [
"env-filter",
], optional = true }
tracing-log = { version = "0.1", optional = true } # optional dependency for tracing-subscriber to convert log events to tracing events
# WebUI
actix-web = { version = "4", optional = true }
actix-files = { version = "0.6", optional = true }
mime = { version = "0.3", optional = true }
# serialisation
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Async stuff
futures = "0.3"
async-trait = "0.1"
tokio = { version = "1.19", features = ["full"] }
rustls = { version = "0.20", features = ["dangerous_configuration"] }
tokio-rustls = "0.23"
# tokio-native-tls = "^0.3"
# [dependencies.rocket_contrib]
# version = "^0.4.10"
# default-features = false
# features = ["serve"]
# num = "0.3"
# num-derive = "0.3"
# num-traits = "0.2.12"
# proc_macro = "*"
# retroshare_compat_derive = { path = "retroshare_compat/proc_macro" }