diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-06-08 10:33:16 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-06-08 10:33:16 -0400 |
commit | da1e4ac4461958643fe14b3da83450292cbb2ca4 (patch) | |
tree | 43e4c679c295c4afc01784088e2e21fb33971cdf | |
parent | 61e579536992f311dc5bc953ddb28a921a3ace1c (diff) |
create wg-conf
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | wg-conf/Cargo.toml | 10 | ||||
-rw-r--r-- | wg-conf/src/lib.rs | 8 |
3 files changed, 19 insertions, 1 deletions
@@ -1,2 +1,2 @@ [workspace] -members = ["wg-rs", "wg-sys"] +members = ["wg-rs", "wg-sys", "wg-conf"] diff --git a/wg-conf/Cargo.toml b/wg-conf/Cargo.toml new file mode 100644 index 0000000..b138082 --- /dev/null +++ b/wg-conf/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "wg-conf" +version = "0.0.1" +description = "Library for reading and writing wireguard configuration files" +license = "MIT" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/wg-conf/src/lib.rs b/wg-conf/src/lib.rs new file mode 100644 index 0000000..1b4a90c --- /dev/null +++ b/wg-conf/src/lib.rs @@ -0,0 +1,8 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + let result = 2 + 2; + assert_eq!(result, 4); + } +} |