diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..b21fac5 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[build] +target-dir = "./build" \ No newline at end of file diff --git a/.gitignore b/.gitignore index bdcbe30..2fb38a3 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ dist/ # will have compiled files and executables debug/ -target/ +build/ coverage/ # Add Cargo.lock to gitignore if creating a library diff --git a/cog.toml b/cog.toml index 54bf847..f9844bb 100644 --- a/cog.toml +++ b/cog.toml @@ -8,7 +8,7 @@ authors = [ [packages] ngyn = { path = "crates/core" } -ngyn-cli = { path = "crates/cli" } +cargo-ngyn = { path = "crates/cli" } ngyn_macros = { path = "crates/macros" } ngyn_shared = { path = "crates/shared" } ngyn-hyper = { path = "crates/hyper" } diff --git a/crates/Cargo.lock b/crates/Cargo.lock index de16150..0dd3fc6 100644 --- a/crates/Cargo.lock +++ b/crates/Cargo.lock @@ -390,6 +390,23 @@ dependencies = [ "serde", ] +[[package]] +name = "cargo-ngyn" +version = "0.0.1" +dependencies = [ + "anyhow", + "clap", + "console", + "exitcode", + "serde", + "serde_derive", + "serde_json", + "serde_yaml", + "tracing", + "tracing-subscriber", + "tracing-tree", +] + [[package]] name = "cc" version = "1.1.14" @@ -1336,23 +1353,6 @@ dependencies = [ "ngyn_shared", ] -[[package]] -name = "ngyn-cli" -version = "0.0.1" -dependencies = [ - "anyhow", - "clap", - "console", - "exitcode", - "serde", - "serde_derive", - "serde_json", - "serde_yaml", - "tracing", - "tracing-subscriber", - "tracing-tree", -] - [[package]] name = "ngyn-hyper" version = "0.1.0"