mirror of
https://github.com/andrew-johnson-4/Hands-On-Functional-Programming-in-Rust
synced 2024-11-18 03:25:33 +00:00
stubs for new project organization
This commit is contained in:
parent
76071c66d4
commit
0df8384ba7
23
Chapter05/Cargo.toml
Normal file
23
Chapter05/Cargo.toml
Normal 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"
|
3
Chapter05/src/analyze_trip.rs
Normal file
3
Chapter05/src/analyze_trip.rs
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
fn main(){
|
||||
}
|
0
Chapter05/src/buildings.rs
Normal file
0
Chapter05/src/buildings.rs
Normal file
0
Chapter05/src/elevator_drivers.rs
Normal file
0
Chapter05/src/elevator_drivers.rs
Normal file
6
Chapter05/src/lib.rs
Normal file
6
Chapter05/src/lib.rs
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
mod motor_controllers;
|
||||
mod elevator_drivers;
|
||||
mod buildings;
|
||||
mod physics;
|
||||
mod trip_planning;
|
0
Chapter05/src/motor_controllers.rs
Normal file
0
Chapter05/src/motor_controllers.rs
Normal file
3
Chapter05/src/operate_elevator.rs
Normal file
3
Chapter05/src/operate_elevator.rs
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
fn main(){
|
||||
}
|
0
Chapter05/src/physics.rs
Normal file
0
Chapter05/src/physics.rs
Normal file
3
Chapter05/src/simulate_trip.rs
Normal file
3
Chapter05/src/simulate_trip.rs
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
fn main(){
|
||||
}
|
0
Chapter05/src/trip_planning.rs
Normal file
0
Chapter05/src/trip_planning.rs
Normal file
Loading…
Reference in New Issue
Block a user