2021-03-29 17:22:14 +00:00
|
|
|
[package]
|
2023-06-06 03:21:11 +00:00
|
|
|
authors = [
|
|
|
|
"Jake McGinty <me@jakebot.org>",
|
|
|
|
"Brian Schwind <brian@tonari.no>",
|
|
|
|
"Ryo Kawaguchi <ryo@tonari.no>",
|
|
|
|
"Matěj Laitl <matej@tonari.no>",
|
|
|
|
]
|
2021-03-29 17:22:14 +00:00
|
|
|
description = "A client to manage innernet network interfaces."
|
2022-01-11 07:54:43 +00:00
|
|
|
edition = "2021"
|
2021-03-29 17:22:14 +00:00
|
|
|
homepage = "https://github.com/tonarino/innernet"
|
|
|
|
license = "MIT"
|
|
|
|
name = "client"
|
|
|
|
publish = false
|
2023-06-06 03:21:11 +00:00
|
|
|
readme = "README.md"
|
2021-04-05 17:19:21 +00:00
|
|
|
repository = "https://github.com/tonarino/innernet"
|
2023-12-27 03:42:31 +00:00
|
|
|
version = "1.6.1"
|
2021-03-29 17:22:14 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "innernet"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
2021-06-10 13:57:47 +00:00
|
|
|
anyhow = "1"
|
2021-03-29 17:22:14 +00:00
|
|
|
colored = "2"
|
2023-06-01 06:25:46 +00:00
|
|
|
clap = { version = "4.3", features = ["derive", "wrap_help"] }
|
|
|
|
clap_complete = "4.3"
|
2022-03-15 01:47:52 +00:00
|
|
|
dialoguer = { version = "0.10", default-features = false }
|
2021-03-29 17:22:14 +00:00
|
|
|
hostsfile = { path = "../hostsfile" }
|
2023-06-01 06:25:46 +00:00
|
|
|
indoc = "2.0.1"
|
2022-03-15 01:47:52 +00:00
|
|
|
ipnet = { version = "2.4", features = ["serde"] }
|
2021-05-19 18:11:51 +00:00
|
|
|
log = "0.4"
|
2021-03-29 17:22:14 +00: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"] }
|
2021-09-15 03:29:58 +00:00
|
|
|
wireguard-control = { path = "../wireguard-control" }
|
2021-03-29 17:22:14 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-05-30 06:34:44 +00:00
|
|
|
once_cell = "1.17.1"
|
2021-03-29 17:22:14 +00:00
|
|
|
tempfile = "3"
|
|
|
|
|
2024-07-01 01:16:43 +00:00
|
|
|
[features]
|
|
|
|
selinux = ["hostsfile/selinux"]
|
|
|
|
|
2021-03-29 17:22:14 +00:00
|
|
|
[package.metadata.deb]
|
|
|
|
assets = [
|
|
|
|
["target/release/innernet", "usr/bin/", "755"],
|
|
|
|
["innernet@.service", "usr/lib/systemd/system/", "644"],
|
|
|
|
["../doc/innernet.8.gz", "usr/share/man/man8/", "644"],
|
2021-05-25 07:10:16 +00:00
|
|
|
["../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 17:22:14 +00:00
|
|
|
]
|
|
|
|
depends = "libc6, libgcc1, systemd"
|
2021-09-14 03:27:10 +00:00
|
|
|
recommends = "wireguard"
|
2021-03-29 17:22:14 +00: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 10:57:37 +00:00
|
|
|
|
|
|
|
[package.metadata.rpm]
|
|
|
|
package = "innernet"
|
|
|
|
|
|
|
|
[package.metadata.rpm.cargo]
|
|
|
|
buildflags = ["--release"]
|
|
|
|
|
|
|
|
[package.metadata.rpm.files]
|
2021-05-31 16:30:40 +00:00
|
|
|
"../../doc/innernet.8.gz" = { path = "/usr/share/man/man8/innernet.8.gz" }
|
2021-05-19 18:18:19 +00:00
|
|
|
"../innernet@.service" = { path = "/usr/lib/systemd/system/innernet@.service" }
|
2021-05-25 07:10:16 +00:00
|
|
|
"../../doc/innernet.completions.bash" = { path = "/etc/bash_completion.d/innernet" }
|
2023-06-06 03:21:11 +00:00
|
|
|
"../../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 10:57:37 +00:00
|
|
|
|
|
|
|
[package.metadata.rpm.targets]
|
|
|
|
innernet = { path = "/usr/bin/innernet" }
|