Implement sending commands via Unix sockets
This commit is contained in:
parent
c8df4b860d
commit
f869cbdb53
14 changed files with 555 additions and 177 deletions
|
|
@ -7,14 +7,17 @@ edition = "2021"
|
|||
crate-type = ["lib", "staticlib"]
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1.21", features = ["rt", "macros"] }
|
||||
tun = { version = "0.1", path = "../tun" }
|
||||
tokio = { version = "1.21", features = ["rt", "sync", "io-util", "macros"] }
|
||||
tun = { version = "0.1", path = "../tun", features = ["serde"] }
|
||||
clap = { version = "4.3.2", features = ["derive"] }
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
caps = "0.5.5"
|
||||
libsystemd = "0.6"
|
||||
|
||||
[target.'cfg(target_vendor = "apple")'.dependencies]
|
||||
nix = { version = "0.26.2" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue