diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..81549e5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +# Generated by Cargo +# will have compiled files and executables +debug/ +target/ + +# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries +# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html +Cargo.lock + +# These are backup files generated by rustfmt +**/*.rs.bk + +# Miscellaneous +.DS_Store diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..4783b49 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,14 @@ +[workspace] +resolver = "2" +members = ["onihime"] + +[workspace.package] +authors = ["Jesse Braham "] +edition = "2021" +homepage = "https://onihime.org" +repository = "https://hatebit.org/jesse/onihime" +license = "BSD-3-Clause" + +[profile.release] +strip = true +lto = "fat" diff --git a/onihime/Cargo.toml b/onihime/Cargo.toml new file mode 100644 index 0000000..ef48661 --- /dev/null +++ b/onihime/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "onihime" +version = "0.0.0" +authors.workspace = true +edition.workspace = true +homepage.workspace = true +repository.workspace = true +license.workspace = true + +[dependencies] diff --git a/onihime/src/lib.rs b/onihime/src/lib.rs new file mode 100644 index 0000000..e66f533 --- /dev/null +++ b/onihime/src/lib.rs @@ -0,0 +1,3 @@ +//! Onihime programming language. + +#![deny(missing_debug_implementations, missing_docs, rust_2018_idioms)]