From 555f2a34a5606bfff56d8281e72bb549bd8ab831 Mon Sep 17 00:00:00 2001 From: Jonathan Irhodia Date: Sat, 24 Aug 2024 15:08:10 +0100 Subject: [PATCH] chore: lockfile config for releases (#169) * chore: update release crate lockfile * more config updates --- .cargo/config.toml | 2 ++ .gitignore | 2 +- cog.toml | 2 +- crates/Cargo.lock | 34 +++++++++++++++++----------------- 4 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 00000000..b21fac53 --- /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 bdcbe301..2fb38a33 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 54bf8475..f9844bb3 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 de161509..0dd3fc62 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"