stubs for new project organization

This commit is contained in:
Andrew Johnson 2018-04-18 13:49:47 -06:00
parent 76071c66d4
commit 0df8384ba7
10 changed files with 38 additions and 0 deletions

23
Chapter05/Cargo.toml Normal file
View File

@ -0,0 +1,23 @@
[package]
name = "elevator"
version = "1.0.0"
[dependencies]
floating-duration = "0.1.2"
termion = "1.0"
timebomb = "0.1"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
[[bin]]
name = "simulate_trip"
path = "src/simulate_trip.rs"
[[bin]]
name = "analyze_trip"
path = "src/analyze_trip.rs"
[[bin]]
name = "operate_elevator"
path = "src/operate_elevator.rs"

View File

@ -0,0 +1,3 @@
fn main(){
}

View File

View File

6
Chapter05/src/lib.rs Normal file
View File

@ -0,0 +1,6 @@
mod motor_controllers;
mod elevator_drivers;
mod buildings;
mod physics;
mod trip_planning;

View File

View File

@ -0,0 +1,3 @@
fn main(){
}

0
Chapter05/src/physics.rs Normal file
View File

View File

@ -0,0 +1,3 @@
fn main(){
}

View File