From 8b9ac30507d21de8e1ed1e5d468a5856b07d6c48 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 4 Oct 2023 15:33:47 -0400 Subject: [PATCH] Add license, Cargo.toml, etc. --- .gitignore | 14 ++++++++++++++ Cargo.toml | 14 ++++++++++++++ crates/puffin-cli/Cargo.toml | 8 ++++++++ crates/puffin-cli/src/main.rs | 3 +++ 4 files changed, 39 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 crates/puffin-cli/Cargo.toml create mode 100644 crates/puffin-cli/src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..6985cf1bd --- /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 + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 000000000..9da828b35 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,14 @@ +[workspace] +members = ["crates/*"] +resolver = "2" + +[workspace.package] +edition = "2021" +rust-version = "1.71" +homepage = "https://astral.sh" +documentation = "https://astral.sh" +repository = "https://github.com/astral-sh/puffin" +authors = ["Astral Software Inc. "] +license = "MIT OR Apache-2.0" + +[workspace.dependencies] diff --git a/crates/puffin-cli/Cargo.toml b/crates/puffin-cli/Cargo.toml new file mode 100644 index 000000000..06ffddd5f --- /dev/null +++ b/crates/puffin-cli/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "puffin-cli" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/crates/puffin-cli/src/main.rs b/crates/puffin-cli/src/main.rs new file mode 100644 index 000000000..e7a11a969 --- /dev/null +++ b/crates/puffin-cli/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}