From de3a98b738345b251030b009294e4502e5457b91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sondre=20Lilleb=C3=B8=20Gundersen?= Date: Sun, 23 Jun 2024 21:04:23 +0200 Subject: [PATCH] Clean up cargo.toml --- Cargo.lock | 2 +- Cargo.toml | 33 ++++++++++++++------------------- development.md | 2 +- 3 files changed, 16 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6763bf2..d6a167a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -260,7 +260,7 @@ dependencies = [ [[package]] name = "container-retention-policy" -version = "3.0.0-rc1" +version = "3.0.0-rc2" dependencies = [ "assert_cmd", "chrono", diff --git a/Cargo.toml b/Cargo.toml index ea26d71..4ab34ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,41 +1,36 @@ [package] name = "container-retention-policy" -version = "3.0.0-rc1" +version = "3.0.0-rc2" edition = "2021" license = "MIT" publish = false [dependencies] clap = { version = "4.5.4", features = ["derive"]} - -tracing = { version = "0.1.40", default-features = false } -tracing-subscriber = { version = "0.3.18", features = ["env-filter"], default-features = false } -indicatif = { version = "0.17.8", default-features = false } -tracing-indicatif = "0.3.6" chrono = { version="0.4.37" , features=["serde", "clock"], default-features = false} -secrecy = { version = "0.8.0" } - -urlencoding = { version="2.1.3" } -regex = { version = "1.10.4", default-features = false } +color-eyre = { version = "0.6.3", default-features = false } humantime = "2.1.0" -wildmatch = { version = "2.3.3" } - +indicatif = { version = "0.17.8", default-features = false } +lazy_static = { version = "1.4.0" , default-features = false} +regex = { version = "1.10.4", default-features = false } +reqwest = {version = "0.12.2", features = ["json", "rustls-tls"], default-features = false } +secrecy = { version = "0.8.0" } serde = { version = "1.0.197", features = ["derive"], default-features = false } +serde_json = { version = "1.0.115", default-features = false } tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"], default-features = false } -reqwest = {version = "0.12.2", features = ["json", "rustls-tls"], default-features = false } - -lazy_static = { version = "1.4.0" , default-features = false} -url = { version = "2.5.0" , default-features = false} -color-eyre = { version = "0.6.3", default-features = false } tower = { version = "0.4.13", default-features = false, features = ["limit"] } -serde_json = { version = "1.0.115", default-features = false } +tracing = { version = "0.1.40", default-features = false } +tracing-subscriber = { version = "0.3.18", features = ["env-filter"], default-features = false } +tracing-indicatif = "0.3.6" +url = { version = "2.5.0" , default-features = false} +urlencoding = { version="2.1.3" } +wildmatch = { version = "2.3.3" } [dev-dependencies] assert_cmd = "2.0.14" tracing-test = "0.2.4" wildmatch = { version = "2.3.3" } - [profile.release] # https://github.com/johnthagen/min-sized-rust # Optimize release profile for size, as the runtime of the action diff --git a/development.md b/development.md index 901d414..e54237d 100644 --- a/development.md +++ b/development.md @@ -2,7 +2,7 @@ To create a release we need to: -1. Manually trigger the [deploy](.github/workflows/release.yaml) workflow to build new images +1. Manually trigger the [`release`](.github/workflows/release.yaml) workflow to build new images 2. Update the image tag in the [action.yaml](action.yaml) 3. Push the change and create a GitHub release post for the repo