-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build service library and binaries for formnet
- Loading branch information
Showing
10 changed files
with
841 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ resolver = "2" | |
members = [ | ||
"server", | ||
"client", | ||
"formnet", | ||
"hostsfile", | ||
"shared", | ||
"publicip", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pub mod util; | ||
pub mod data_store; | ||
pub mod nat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
[package] | ||
authors = [ | ||
"Andrew Smith [email protected]" | ||
] | ||
description = "A service that uses innernet behind the scenes to coordinate the formation fog network." | ||
edition = "2021" | ||
license = "MIT" | ||
name = "formnet" | ||
publish = false | ||
readme = "README.md" | ||
version = "0.1.0" | ||
|
||
[features] | ||
integration = [] | ||
|
||
[lib] | ||
path = "src/lib.rs" | ||
|
||
[[bin]] | ||
name = "formnet" | ||
path = "src/main.rs" | ||
|
||
[[bin]] | ||
name = "formnet-client" | ||
path = "src/client.rs" | ||
|
||
|
||
[dependencies] | ||
innernet-server = { path = "../server" } | ||
client = { path = "../client" } | ||
wireguard-control = { path = "../wireguard-control" } | ||
form-types = { path = "../../form-types" } | ||
tokio = { version = "1", features=["full"] } | ||
clap = { version = "4.5.23", features=["derive"] } | ||
conductor = { git = "https://github.com/versatus/conductor.git" } | ||
shared = { path = "../shared" } | ||
ipnet = "2.9" | ||
serde = { version = "1", features = ["derive"] } | ||
serde_json = "1" | ||
async-trait = "0.1.83" | ||
bincode = "1.3.3" | ||
axum = "0.7" | ||
reqwest = { version = "0.12", features = ["json"] } | ||
log = "0.4" | ||
simple_logger = "5.0.0" | ||
log4rs = "1.3.0" | ||
|
||
[dev-dependencies] | ||
random_word = { version = "0.4.3", features = ["en"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#[tokio::main] | ||
async fn main() -> Result<(), Box<dyn std::error::Error>> { | ||
Ok(()) | ||
} |
Oops, something went wrong.