From 142b5b1b916f181bfb454d84f5cd6ff8afbd29ca Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Mon, 12 Nov 2018 16:28:44 -0400 Subject: [PATCH] Created basic bin source files --- Cargo.lock | 12 ++++++------ src/bin/copy.rs | 7 +++++++ src/bin/data_node.rs | 6 ++++++ src/{main.rs => bin/ls.rs} | 1 + src/bin/meta_data.rs | 7 +++++++ src/lib.rs | 1 + 6 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 src/bin/copy.rs create mode 100644 src/bin/data_node.rs rename src/{main.rs => bin/ls.rs} (97%) create mode 100644 src/bin/meta_data.rs create mode 100644 src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 3afeb69..986a095 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3,7 +3,7 @@ name = "a03" version = "0.1.0" dependencies = [ "rusqlite 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.32 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -66,7 +66,7 @@ dependencies = [ [[package]] name = "ryu" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -76,11 +76,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "serde_json" -version = "1.0.32" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "ryu 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", + "ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -128,9 +128,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)" = "676e8eb2b1b4c9043511a9b7bea0915320d7e502b0a079fb03f9635a5252b18c" "checksum redox_syscall 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)" = "c214e91d3ecf43e9a4e41e578973adeb14b474f2bee858742d127af75a0112b1" "checksum rusqlite 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)" = "39bae767eb27866f5c0be918635ae54af705bc09db11be2c43a3c6b361cf3462" -"checksum ryu 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "7153dd96dade874ab973e098cb62fcdbb89a03682e46b144fd09550998d4a4a7" +"checksum ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "eb9e9b8cde282a9fe6a42dd4681319bfb63f121b8a8ee9439c6f4107e58a46f7" "checksum serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)" = "15c141fc7027dd265a47c090bf864cf62b42c4d228bbcf4e51a0c9e2b0d3f7ef" -"checksum serde_json 1.0.32 (registry+https://github.com/rust-lang/crates.io-index)" = "43344e7ce05d0d8280c5940cabb4964bea626aa58b1ec0e8c73fa2a8512a38ce" +"checksum serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)" = "c37ccd6be3ed1fdf419ee848f7c758eb31b054d7cd3ae3600e3bae0adf569811" "checksum time 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)" = "d825be0eb33fda1a7e68012d51e9c7f451dc1a69391e7fdc197060bb8c56667b" "checksum vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "def296d3eb3b12371b2c7d0e83bfe1403e4db2d7a0bba324a12b21c4ee13143d" "checksum winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "92c1eb33641e276cfa214a0522acad57be5c56b10cb348b3c5117db75f3ac4b0" diff --git a/src/bin/copy.rs b/src/bin/copy.rs new file mode 100644 index 0000000..66f5387 --- /dev/null +++ b/src/bin/copy.rs @@ -0,0 +1,7 @@ +extern crate a03; + +use a03::*; + +fn main() { + println!("Hello, world!"); +} diff --git a/src/bin/data_node.rs b/src/bin/data_node.rs new file mode 100644 index 0000000..e872f71 --- /dev/null +++ b/src/bin/data_node.rs @@ -0,0 +1,6 @@ +extern crate a03; + +use a03::*; + +fn main() { +} diff --git a/src/main.rs b/src/bin/ls.rs similarity index 97% rename from src/main.rs rename to src/bin/ls.rs index e7a11a9..7da3a48 100644 --- a/src/main.rs +++ b/src/bin/ls.rs @@ -1,3 +1,4 @@ + fn main() { println!("Hello, world!"); } diff --git a/src/bin/meta_data.rs b/src/bin/meta_data.rs new file mode 100644 index 0000000..5414f7a --- /dev/null +++ b/src/bin/meta_data.rs @@ -0,0 +1,7 @@ +extern crate a03; +extern crate rusqlite; + +use a03::*; + +fn main() { +} diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1 @@ +