mirror of
https://github.com/anthonyoteri/dredge.git
synced 2026-06-05 15:26:53 -04:00
fbe43f03f1
If the Docker Registry API allows for images to be deleted, issuing the command `delete <image> <tag>` will result in the tag being removed from the server. A limitation of this change is that it will cause any unreferenced tags to become orphaned, requiring the garbage collector within the docker registry server to clean these up. This is because there is no way to efficiently determine if each of the layers are reused by other tags or images on the server. Implement delete logic Fix broken unit tests
41 lines
1.2 KiB
TOML
41 lines
1.2 KiB
TOML
[package]
|
|
name = "dredge"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Anthony Oteri"]
|
|
description = "A Command Line tool for interracting with the Docker Registry API"
|
|
readme = "README.md"
|
|
repository = "https://github.com/anthonyoteri/dredge"
|
|
rust-version = "1.72"
|
|
license-file = "LICENSE"
|
|
keywords = [
|
|
"docker",
|
|
"registry",
|
|
"cli",
|
|
]
|
|
categories = [
|
|
"command-line-utilities",
|
|
"api-bindings",
|
|
]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
async-std = { version = "1.12.0", features = ["async-attributes", "attributes", "tokio1"] }
|
|
clap = { version = "4.4.3", features = ["derive", "env", "wrap_help"] }
|
|
simple_logger = { version = "4.2.0", features = ["timestamps", "colors", "stderr"] }
|
|
http = "0.2.9"
|
|
indoc = "2.0.4"
|
|
log = "0.4.20"
|
|
reqwest = { version = "0.11.20", features = ["json", "gzip", "multipart", "native-tls-vendored"] }
|
|
serde = { version = "1.0.188", features = ["derive"] }
|
|
serde_toml = "0.0.1"
|
|
serde_yaml = "0.9.25"
|
|
thiserror = "1.0.48"
|
|
toml = "0.8.0"
|
|
url = { version = "2.4.1", features = ["serde"] }
|
|
xdg = "2.5.2"
|
|
|
|
[dev-dependencies]
|
|
mockito = "1.2.0"
|
|
env_logger = "0.10.0" |