1
0
mirror of https://github.com/tonarino/innernet.git synced 2024-11-30 09:06:44 +02:00
innernet/client/Cargo.toml

70 lines
2.4 KiB
TOML
Raw Normal View History

2021-03-29 19:22:14 +02:00
[package]
authors = ["Jake McGinty <jake@tonari.no>"]
description = "A client to manage innernet network interfaces."
2022-01-11 09:54:43 +02:00
edition = "2021"
2021-03-29 19:22:14 +02:00
homepage = "https://github.com/tonarino/innernet"
license = "MIT"
name = "client"
publish = false
repository = "https://github.com/tonarino/innernet"
2022-03-16 11:17:37 +02:00
version = "1.5.4"
2021-03-29 19:22:14 +02:00
[[bin]]
name = "innernet"
path = "src/main.rs"
[dependencies]
anyhow = "1"
2021-03-29 19:22:14 +02:00
colored = "2"
2022-01-11 09:51:32 +02:00
clap = { version = "3", features = ["derive"] }
clap_complete = "3"
2022-03-15 03:47:52 +02:00
dialoguer = { version = "0.10", default-features = false }
2021-03-29 19:22:14 +02:00
hostsfile = { path = "../hostsfile" }
indoc = "1"
2022-03-15 03:47:52 +02:00
ipnet = { version = "2.4", features = ["serde"] }
2021-03-29 19:22:14 +02:00
lazy_static = "1"
2021-05-19 20:11:51 +02:00
log = "0.4"
2021-03-29 19:22:14 +02:00
regex = { version = "1", default-features = false, features = ["std"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
shared = { path = "../shared", default-features = false }
ureq = { version = "2", default-features = false, features = ["json"] }
wireguard-control = { path = "../wireguard-control" }
2021-03-29 19:22:14 +02:00
[dev-dependencies]
tempfile = "3"
[package.metadata.deb]
assets = [
["target/release/innernet", "usr/bin/", "755"],
["target/release/innernet", "usr/bin/inn", "755"],
["innernet@.service", "usr/lib/systemd/system/", "644"],
["../doc/innernet.8.gz", "usr/share/man/man8/", "644"],
["../doc/innernet.completions.bash", "etc/bash_completion.d/innernet", "644"],
["../doc/innernet.completions.fish", "usr/share/fish/vendor_completions.d/innernet.fish", "644"],
["../doc/innernet.completions.zsh", "usr/share/zsh/site-functions/_innernet", "644"],
2021-03-29 19:22:14 +02:00
]
depends = "libc6, libgcc1, systemd"
recommends = "wireguard"
2021-03-29 19:22:14 +02:00
extended-description = "innernet client binary for fetching peer information and conducting admin tasks such as adding a new peer."
maintainer = "tonari <hey@tonari.no>"
name = "innernet"
priority = "optional"
section = "net"
2021-05-09 12:57:37 +02:00
[package.metadata.rpm]
package = "innernet"
[package.metadata.rpm.cargo]
buildflags = ["--release"]
[package.metadata.rpm.files]
2021-05-31 18:30:40 +02:00
"../../doc/innernet.8.gz" = { path = "/usr/share/man/man8/innernet.8.gz" }
2021-05-19 20:18:19 +02:00
"../innernet@.service" = { path = "/usr/lib/systemd/system/innernet@.service" }
"../../doc/innernet.completions.bash" = { path = "/etc/bash_completion.d/innernet" }
"../../doc/innernet.completions.fish" = { path = "/usr/share/fish/vendor_completions.d/innernet.fish" }
"../../doc/innernet.completions.zsh" = { path = "/usr/share/zsh/site-functions/_innernet" }
2021-05-09 12:57:37 +02:00
[package.metadata.rpm.targets]
innernet = { path = "/usr/bin/innernet" }