Init crate repos

This commit is contained in:
Candifloss 2025-12-27 23:30:00 +05:30
parent e0c1646e7d
commit 3fb3792abc
13 changed files with 87 additions and 0 deletions

11
Cargo.toml Normal file
View File

@ -0,0 +1,11 @@
[workspace]
members = [
"wifi_config",
"wifi_core",
"wifi_daemon",
"wifi_cli",
"wifi_tui",
"wifi_gui",
]
resolver = "3"

6
wifi_cli/Cargo.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
name = "wifi_cli"
version = "0.1.0"
edition = "2024"
[dependencies]

3
wifi_cli/src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

6
wifi_config/Cargo.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
name = "wifi_config"
version = "0.1.0"
edition = "2024"
[dependencies]

14
wifi_config/src/lib.rs Normal file
View File

@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}

6
wifi_core/Cargo.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
name = "wifi_core"
version = "0.1.0"
edition = "2024"
[dependencies]

14
wifi_core/src/lib.rs Normal file
View File

@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}

6
wifi_daemon/Cargo.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
name = "wifi_daemon"
version = "0.1.0"
edition = "2024"
[dependencies]

3
wifi_daemon/src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

6
wifi_gui/Cargo.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
name = "wifi_gui"
version = "0.1.0"
edition = "2024"
[dependencies]

3
wifi_gui/src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

6
wifi_tui/Cargo.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
name = "wifi_tui"
version = "0.1.0"
edition = "2024"
[dependencies]

3
wifi_tui/src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}