-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
79 lines (64 loc) · 1.79 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
76
77
78
79
[package]
name = "vnstat-server"
version = "1.0.0-stable"
edition = "2021"
authors = ["Mohamed Emad ([email protected])"]
description = "Serve your vnStat data and controlling in it easily by HTTP requests"
default-run = "vns"
readme = "README.md"
[workspace]
members = [
"vns",
"vnsd",
"libs/libvnstat",
"libs/utils",
"app"
]
[[bin]]
name = "vnsd"
path = "vnsd/src/main.rs"
[[bin]]
name = "vns"
path = "vns/src/main.rs"
[dependencies]
utils = {path = "libs/utils"}
libvnstat = {path = "libs/libvnstat"}
app = {path = "app"}
vns = {path = "vns"}
vnsd = {path = "vnsd"}
serde = { version = "1.0.13", features = ["derive"] }
serde_json = "1.0.59"
serde_derive = "1.0.136"
erased-serde = "0.3.20"
tokio = { version = "1.17.0", features = ["full"] }
actix-server = "2.1.1"
actix-web = "4.0.1"
actix-web-httpauth = "0.6.0"
anyhow = "1.0.55"
clap = { version = "3.2.8", features = ["derive"] }
env_logger = "0.9.0"
log = "0.4.17"
diesel = { version = "1.4.8", features = ["sqlite"] }
dirs = "4.0.0"
uuid = { version = "1.1.2", features = ["v4"] }
chrono = "0.4.19"
rand = "0.8.5"
regex = "1.6.0"
comfy-table = "6.0.0"
colorful = "0.2.1"
[package.metadata.deb]
maintainer = "Hulxxv <[email protected]>"
copyright = "2022, Mohamed Emad <[email protected]>"
license-file = ["LICENSE", "4"]
extended-description = "Serve your vnStat data and controlling in it easily by HTTP requests"
depends = "$auto, vnstat"
section = "Network"
priority = "optional"
assets = [
["target/release/vns", "usr/bin/", "755"],
["target/release/vnsd", "usr/bin/", "755"],
["docs/*", "usr/share/vnstat-server/docs/", "755"],
["README.md", "usr/share/vnstat-server/", "644"],
["LICENSE", "usr/share/vnstat-server/", "644"],
["systemd/vnstat-server.service", "/etc/systemd/system/vnstat-server.service", "644"]
]