init start modules

This commit is contained in:
artus
2018-12-16 14:44:58 +01:00
parent 064619b18a
commit 20f73d1c1d
8 changed files with 54 additions and 4 deletions
+2 -4
View File
@@ -9,9 +9,7 @@
*.exe *.exe
# Generated by Cargo # Generated by Cargo
/target/ */target/
/target
**/*.rs.bk **/*.rs.bk
Cargo.lock Cargo.lock
/target
+9
View File
@@ -0,0 +1,9 @@
[package]
name = "CookAssistant"
version = "0.1.0"
authors = ["artus <artus@landoftheunicorn.hd.free.fr>"]
edition = "2018"
[dependencies]
cookbook = { path = "cookbook/" }
planner = { path = "planner/" }
+7
View File
@@ -0,0 +1,7 @@
[package]
name = "cookbook"
version = "0.1.0"
authors = ["artus <artus@landoftheunicorn.hd.free.fr>"]
edition = "2018"
[dependencies]
+7
View File
@@ -0,0 +1,7 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}
+11
View File
@@ -0,0 +1,11 @@
enum Meal {
FullMeal,
Composed,
}
fn retrieve_all() -> Vec<Meal> {
vec!()
}
+8
View File
@@ -0,0 +1,8 @@
[package]
name = "planner"
version = "0.1.0"
authors = ["artus <artus@landoftheunicorn.hd.free.fr>"]
edition = "2018"
[dependencies]
cookbook = { path = "../cookbook/" }
+7
View File
@@ -0,0 +1,7 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}
+3
View File
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}