add project structure

This commit is contained in:
2022-11-26 18:04:49 -07:00
parent df3066dc62
commit 2eb07596c8
12 changed files with 1197 additions and 0 deletions
Generated
+1097
View File
File diff suppressed because it is too large Load Diff
+21
View File
@@ -0,0 +1,21 @@
[package]
name = "wakey"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = "1.0.147"
tokio = "1.21.2"
zbus = {version = "3.4.0", features=["tokio"]}
thiserror = "1.0.27"
anyhow = "1.0.66"
zbus_names = "2.2.0"
zvariant = "3.7.1"
zvariant_derive = "3.7.1"
uuid = {version = "1.2.1", features = ["v4", "serde"]}
zbus_macros = "3.4.0"
serde_json = "1.0.87"
serde_yaml = "0.9.14"
+3
View File
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}
+8
View File
@@ -0,0 +1,8 @@
[package]
name = "wakeyclient"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
+14
View File
@@ -0,0 +1,14 @@
pub fn add(left: usize, right: usize) -> usize {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
+7
View File
@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "wakeyctl"
version = "0.1.0"
+8
View File
@@ -0,0 +1,8 @@
[package]
name = "wakeyctl"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
+6
View File
@@ -0,0 +1,6 @@
use std::io;
fn main() {
println!("Hello, world!");
let x = 10;
println!("hello {}", x);
}
+8
View File
@@ -0,0 +1,8 @@
[package]
name = "wakeyd"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
+3
View File
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}
+8
View File
@@ -0,0 +1,8 @@
[package]
name = "wakeytypes"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
+14
View File
@@ -0,0 +1,14 @@
pub fn add(left: usize, right: usize) -> usize {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}