2021-03-29 17:22:14 +00:00
|
|
|
[package]
|
|
|
|
authors = ["Jake McGinty <me@jake.su>"]
|
|
|
|
description = "A server to coordinate innernet networks."
|
2022-01-11 07:54:43 +00:00
|
|
|
edition = "2021"
|
2021-03-29 17:22:14 +00:00
|
|
|
license = "MIT"
|
|
|
|
name = "server"
|
|
|
|
publish = false
|
|
|
|
readme = "README.md"
|
2022-02-01 05:04:11 +00:00
|
|
|
version = "1.5.4-beta.1"
|
2021-03-29 17:22:14 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "innernet-server"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
2021-09-05 14:44:55 +00:00
|
|
|
[features]
|
|
|
|
v6-test = []
|
|
|
|
|
2021-03-29 17:22:14 +00:00
|
|
|
[dependencies]
|
2021-06-10 13:57:47 +00:00
|
|
|
anyhow = "1"
|
2021-05-06 03:32:54 +00:00
|
|
|
bytes = "1"
|
2022-01-11 07:51:32 +00:00
|
|
|
clap = { version = "3", features = ["derive"] }
|
|
|
|
clap_complete = "3"
|
2021-03-29 17:22:14 +00:00
|
|
|
colored = "2"
|
2021-10-22 03:55:49 +00:00
|
|
|
dialoguer = { version = "0.9", default-features = false }
|
2021-05-06 03:32:54 +00:00
|
|
|
hyper = { version = "0.14", default-features = false, features = ["http1", "server", "runtime", "stream"] }
|
2021-03-29 17:22:14 +00:00
|
|
|
indoc = "1"
|
2022-02-01 05:01:21 +00:00
|
|
|
ipnet = { version = "2", features = ["serde"] }
|
2022-01-11 07:51:32 +00:00
|
|
|
lazy_static = "1"
|
2021-03-29 17:22:14 +00:00
|
|
|
libc = "0.2"
|
2021-10-22 03:55:49 +00:00
|
|
|
libsqlite3-sys = "0.23"
|
2021-03-29 17:22:14 +00:00
|
|
|
log = "0.4"
|
2022-01-31 19:27:24 +00:00
|
|
|
parking_lot = "0.12"
|
2021-03-29 17:22:14 +00:00
|
|
|
pretty_env_logger = "0.4"
|
2021-05-19 18:18:19 +00:00
|
|
|
publicip = { path = "../publicip" }
|
2021-03-29 17:22:14 +00:00
|
|
|
regex = { version = "1", default-features = false, features = ["std"] }
|
2021-10-22 03:55:49 +00:00
|
|
|
rusqlite = "0.26"
|
2021-03-29 17:22:14 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|
|
|
|
shared = { path = "../shared" }
|
2021-04-30 10:01:04 +00:00
|
|
|
subtle = "2"
|
2021-03-29 17:22:14 +00:00
|
|
|
thiserror = "1"
|
2021-05-06 03:32:54 +00:00
|
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] }
|
2021-03-29 17:22:14 +00:00
|
|
|
toml = "0.5"
|
2021-04-30 10:01:04 +00:00
|
|
|
url = "2"
|
2021-09-15 03:29:58 +00:00
|
|
|
wireguard-control = { path = "../wireguard-control" }
|
2021-03-29 17:22:14 +00:00
|
|
|
|
2021-04-05 07:34:21 +00:00
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
|
|
socket2 = { version = "0.4", features = ["all"] }
|
|
|
|
|
2021-03-29 17:22:14 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
anyhow = "1"
|
|
|
|
tempfile = "3"
|
|
|
|
|
|
|
|
[package.metadata.deb]
|
|
|
|
assets = [
|
|
|
|
["target/release/innernet-server", "usr/bin/", "755"],
|
|
|
|
["innernet-server@.service", "usr/lib/systemd/system/", "644"],
|
|
|
|
["../doc/innernet-server.8.gz", "usr/share/man/man8/", "644"],
|
2021-05-25 07:10:16 +00:00
|
|
|
["../doc/innernet-server.completions.zsh", "usr/share/zsh/site-functions/_innernet-server", "644"],
|
|
|
|
["../doc/innernet-server.completions.bash", "etc/bash_completion.d/innernet-server", "644"],
|
|
|
|
["../doc/innernet-server.completions.fish", "usr/share/fish/vendor_completions.d/innernet-server.fish", "644"],
|
2021-03-29 17:22:14 +00:00
|
|
|
]
|
|
|
|
depends = "libc6, libgcc1, libsqlite3-0, zlib1g, systemd"
|
2021-09-14 03:27:10 +00:00
|
|
|
recommends = "wireguard"
|
2021-03-29 17:22:14 +00:00
|
|
|
maintainer = "tonari <hey@tonari.no>"
|
|
|
|
name = "innernet-server"
|
|
|
|
priority = "optional"
|
|
|
|
section = "net"
|
2021-05-09 10:57:37 +00:00
|
|
|
|
|
|
|
[package.metadata.rpm]
|
|
|
|
package = "innernet-server"
|
|
|
|
|
|
|
|
[package.metadata.rpm.cargo]
|
|
|
|
buildflags = ["--release"]
|
|
|
|
|
|
|
|
[package.metadata.rpm.files]
|
|
|
|
"../../doc/innernet-server.8.gz" = { path = "/usr/share/man/man8/innernet-server.8.gz" }
|
2021-05-19 18:18:19 +00:00
|
|
|
"../innernet-server@.service" = { path = "/usr/lib/systemd/system/innernet-server@.service" }
|
2021-05-25 07:10:16 +00:00
|
|
|
"../../doc/innernet-server.completions.bash" = { path = "/etc/bash_completion.d/innernet-server" }
|
|
|
|
"../../doc/innernet-server.completions.fish" = { path = "/usr/share/fish/vendor_completions.d/innernet-server.fish" }
|
|
|
|
"../../doc/innernet-server.completions.zsh" = { path = "/usr/share/zsh/site-functions/_innernet-server" }
|
2021-05-09 10:57:37 +00:00
|
|
|
|
|
|
|
[package.metadata.rpm.targets]
|
|
|
|
innernet-server = { path = "/usr/bin/innernet-server" }
|