diff --git a/Cargo.toml b/Cargo.toml index 16c5ece..1104868 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,4 +6,4 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -periodic_table = "0.5.0" +periodic_table = { version = "0.5.0", path = "../periodic_table/" } diff --git a/src/draw/format.rs b/src/draw/format.rs new file mode 100644 index 0000000..900ae8d --- /dev/null +++ b/src/draw/format.rs @@ -0,0 +1,43 @@ +/* + CH3 CH3 CH3 CH3 + | | | | +CH3---C---C---C---C---CH3 + | | | | + CH3 CH3 CH3 CH3 + + +NAME + + + \_ || _/ + _ \||/_ + \/ + H--C + + + + + + +Location: + +LU U RU +L C R +LD D RD + + + + + +111 + +LU: +y +\_ + \ + x + +U: + + +*/ diff --git a/src/draw/mod.rs b/src/draw/mod.rs new file mode 100644 index 0000000..e69de29 diff --git a/src/main.rs b/src/main.rs index 8698dad..f05a3fa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,9 +1,11 @@ #![allow(clippy::unnecessary_unwrap)] mod parse; +mod draw; +mod variations; -use parse::parse; use std::env; +use parse::parse; fn main() { diff --git a/src/variations/calculate.rs b/src/variations/calculate.rs new file mode 100644 index 0000000..e69de29 diff --git a/src/variations/mod.rs b/src/variations/mod.rs new file mode 100644 index 0000000..e69de29