-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (41 loc) · 1.46 KB
/
Cargo.toml
File metadata and controls
46 lines (41 loc) · 1.46 KB
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
[package]
name = "bodo_connect"
version = "0.9.1"
edition = "2021"
description = "A library for mapping/connecting to your hosts in the whole world wide web."
license = "GPL-3.0"
readme = "README.md"
repository = "https://github.com/topongo/bodo_connect"
authors = [ "Lorenzo Bodini" ]
[dependencies]
subprocess = "^0.2.9"
tokio = "^1.27.0"
reachable = "^0.2.2"
futures = "^0.3.31"
reqwest = { version = "^0.12.9" }
log = { version = "^0.4.17", optional = true }
chrono = { version = "^0.4.24" }
colored = { version = "^2.0.0", optional = true }
lazy_static = { version = "^1.4.0", optional = true }
serde = { version = "^1.0.159", features = ["derive"], optional = true }
serde_json = { version = "^1.0.95", optional = true }
home = { version = "^0.5.4", optional = true }
mac_address = { version = "^1.1.3", optional = true }
clap = { version = "^4.2.1", features = ["derive"], optional = true }
users = { version = "^0.11", optional = true }
toml = { version = "^0.8.19", optional = true}
serde_yml = { version = "^0.0.12", optional = true }
[features]
default = ["wake", "cmd", "serde", "log", "rsync", "sshfs", "sync", "direct"]
wake = ["dep:mac_address"]
cmd = ["dep:clap", "dep:home", "dep:users", "serde"]
serde = ["dep:serde", "dep:serde_json", "dep:toml", "dep:serde_yml"]
log = ["dep:log", "dep:lazy_static", "dep:colored"]
rsync = ["cmd"]
sshfs = ["cmd"]
sync = ["cmd"]
direct = []
[[bin]]
name = "bodoConnect"
required-features = ["cmd", "serde"]
path = "src/bin/main.rs"