From 5494d8de1b565689df9e7381ded9645cbc14be28 Mon Sep 17 00:00:00 2001 From: Nicole Tietz-Sokolskaya <me@ntietz.com> Date: Sun, 1 Sep 2024 23:26:39 -0400 Subject: [PATCH] Add Cargo.toml with midir dependency, stub of src/main.rs --- .gitignore | 6 +++++- Cargo.toml | 7 +++++++ src/main.rs | 3 +++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore index d01bd1a..efe3eb1 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,8 @@ Cargo.lock # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. -#.idea/ \ No newline at end of file +#.idea/ + +# Added by cargo + +/target diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..17f1b4b --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,7 @@ +[package] +name = "midi-keys" +version = "0.1.0" +edition = "2021" + +[dependencies] +midir = "0.10.0" diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}