[package]
edition = "2021"
rust-version = "1.75"
name = "innisfree"
version = "0.4.2"
authors = ["Conor Schaefer <conor@ruin.dev>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Exposes local services on public IPv4 address, via cloud server."
readme = "README.md"
keywords = [
"self-hosting",
"wireguard",
]
categories = [
"command-line-utilities",
"network-programming",
]
license = "AGPL-3.0-only"
repository = "https://github.com/conorsch/innisfree"
[package.metadata.deb]
maintainer-scripts = "debian/"
depends = "$auto"
extended-description = "Creates a remote host in the cloud, then establishes a Wireguard tunnel to it. Forwards both TCP and UDP traffic between the public ingress and locally-bound services."
assets = [
[
"target/release/innisfree",
"usr/bin/",
"755",
],
[
"target/release/innisfree@.service",
"usr/lib/systemd/system/",
"644",
],
]
name = "innisfree"
priority = "optional"
section = "net"
[package.metadata.release]
tag-name = "v{{version}}"
tag-message = "innisfree version {{version}}"
pre-release-commit-message = "chore: release version {{version}}"
publish = true
tag = true
push = false
[features]
integration = []
nix = []
systemd = []
udp = []
[lib]
name = "innisfree"
path = "src/lib.rs"
[[bin]]
name = "innisfree"
path = "src/main.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "proxy_udp"
path = "tests/proxy_udp.rs"
[[test]]
name = "static_linkage"
path = "tests/static_linkage.rs"
[[test]]
name = "systemd_unit"
path = "tests/systemd_unit.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.boringtun]
version = "0.7"
features = ["device"]
[dependencies.clap]
version = "4"
features = [
"env",
"derive",
"cargo",
]
[dependencies.directories]
version = "5"
[dependencies.fs2]
version = "0.4"
[dependencies.futures]
version = "0.3"
[dependencies.if-addrs]
version = "~0.15"
[dependencies.ipnet]
version = "~2"
[dependencies.rand]
version = "~0.8"
[dependencies.rand_core]
version = "0.6"
features = ["getrandom"]
[dependencies.reqwest]
version = "0.11"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.rtnetlink]
version = "0.14"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yml]
version = "0.0"
[dependencies.ssh-key]
version = "0.6"
features = ["ed25519"]
[dependencies.tera]
version = "1"
[dependencies.time]
version = "0.3"
features = [
"formatting",
"parsing",
"serde",
]
[dependencies.tokio]
version = "1.27"
features = [
"io-util",
"macros",
"net",
"process",
"rt-multi-thread",
"signal",
"time",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"ansi",
]
[dependencies.x25519-dalek]
version = "2.0"
features = ["static_secrets"]
[dev-dependencies.escargot]
version = "0.5"
[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.temp-env]
version = "0.3"
[dev-dependencies.tempfile]
version = "3"