-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
93 lines (84 loc) · 3.23 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
80
81
82
83
84
85
86
87
88
89
90
91
92
[package]
name = "fog05-networking-linux"
version = "0.3.0-alpha1"
repository = "https://github.com/eclipse-fog05/fog05-networking-linux"
homepage = "http://fog05.io"
authors = ["gabrik <gabriele.baldoni@gmail.com>"]
edition = "2018"
license = " EPL-2.0 OR Apache-2.0"
readme = "README.md"
description = "Eclipse fog05 Linux Networking Plugin"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-std = { version = "=1.9.0", features = ["attributes"] }
zenoh = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "branch_0.5.0-beta.9"}
zenoh-util = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "branch_0.5.0-beta.9" }
zrpc = { git = "https://github.com/atolab/zenoh-rpc.git", branch = "old-api" }
znrpc-macros = { git = "https://github.com/atolab/zenoh-rpc.git", branch = "old-api" }
fog05-sdk = { git = "https://github.com/eclipse-fog05/fog05.git", branch = "master" }
uhlc = "0.3.1"
async-trait = "0.1.36"
futures = "0.3.5"
thiserror = "1.0"
serde_derive = "1.0.55"
serde = { version = "1.0.55", features = ["derive"] }
serde_json = { version = "1.0.55"}
serde_yaml = "0.8.13"
bincode = "1.3.1"
rtnetlink = "0.8.1"
netlink-packet-route = "0.8.0"
derive_more = "0.99.10"
semver = { version = "1.0.4", features = ["serde"]}
uuid = { version = "0.8.1", features = ["serde", "v4"] }
base64 = "0.13.0"
url = "2.1.1"
mac_address = {version = "1.1.1", features = ["serde"]}
async-ctrlc ={version = "1.2.0", features = ["stream"]}
reqwest = { version = "0.11.0", default-features = false, features = ["json", "rustls-tls"] }
rand = "0.8.3"
nix = "0.23.0"
clap = "2.33"
structopt = "0.3.13"
log = "0.4"
env_logger = "0.9.0"
git-version = "0.3.4"
tera = "1.5.0"
nftnl = "0.6.0"
ipnetwork = "0.18.0"
mnl = "0.2"
signal-hook = "0.3.4"
signal-hook-async-std = "0.2.1"
[[bin]]
name = "linux-networking"
path = "bin/linux-networking.rs"
test = false
bench = false
[[bin]]
name = "fos-net-linux-ns-manager"
path = "bin/fos-net-linux-ns-manager.rs"
test = false
bench = false
[package.metadata.deb]
maintainer = "ADLINK fog05 team <fog05@adlink-labs.tech>"
copyright = "2021, ADLINK Technology Inc"
extended-description = "Eclipse fog05 Linux Networking Plugin"
license-file = ["LICENSE.md", "0"]
maintainer-scripts = "resources/debian/"
depends = "fog05-agent (>= 0.3 ), fog05-agent (<< 0.4 ), dnsmasq-base (>= 0.0 ), nftables (>= 0.0 ), libnftnl-dev (>= 1.0.6 ), libnfnetlink-dev (>= 0.0 ), libmnl-dev (>= 0.0 ), $auto"
section = "utils"
priority = "optional"
assets = [
# binary
["target/release/linux-networking", "/usr/bin/fos-net-linux", "755"],
["target/release/fos-net-linux-ns-manager", "/usr/bin/fos-net-linux-ns-manager", "755"],
# assets
["etc/config.yaml", "/etc/fos/linux-network/config.yaml", "644"],
["etc/dnsmasq.conf", "/etc/fos/linux-network/dnsmasq.conf", "644"],
["etc/dnsmasq.conf", "/var/fos/linux-network/dnsmasq.conf", "644"],
["etc/99-fog05-net-linux.conf", "/etc/sysctl.d/99-fog05-net-linux.conf", "644"],
["resources/fos-net-linux.service", "/lib/systemd/system/fos-net-linux.service", "644"],
]
conf-files = ["/etc/fos/linux-network/config.yaml"]
[package.metadata.deb.systemd-units]
unit-scripts = "resources/"
unit-name = "fos-net-linux.service"