From 751b578d6e042206968296e265231bbd7d8e165e Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 7 May 2024 13:24:39 +0200 Subject: [PATCH] rename proxmox-dns-api to proxmox-system-config-api Because we want to bundle system configuration APIs in one crate, i.e. Time, DNS, Network. We may separate them in future using cargo features. --- Cargo.toml | 2 +- {proxmox-dns-api => proxmox-system-config-api}/Cargo.toml | 4 ++-- .../debian/changelog | 2 +- .../debian/copyright | 0 .../debian/debcargo.toml | 0 .../src/api_types.rs | 0 {proxmox-dns-api => proxmox-system-config-api}/src/lib.rs | 0 .../src/resolv_conf.rs | 0 8 files changed, 4 insertions(+), 4 deletions(-) rename {proxmox-dns-api => proxmox-system-config-api}/Cargo.toml (85%) rename {proxmox-dns-api => proxmox-system-config-api}/debian/changelog (61%) rename {proxmox-dns-api => proxmox-system-config-api}/debian/copyright (100%) rename {proxmox-dns-api => proxmox-system-config-api}/debian/debcargo.toml (100%) rename {proxmox-dns-api => proxmox-system-config-api}/src/api_types.rs (100%) rename {proxmox-dns-api => proxmox-system-config-api}/src/lib.rs (100%) rename {proxmox-dns-api => proxmox-system-config-api}/src/resolv_conf.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 7ecd4897..aa33f326 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,6 @@ members = [ "proxmox-borrow", "proxmox-client", "proxmox-compression", - "proxmox-dns-api", "proxmox-http", "proxmox-http-error", "proxmox-human-byte", @@ -30,6 +29,7 @@ members = [ "proxmox-sortable-macro", "proxmox-subscription", "proxmox-sys", + "proxmox-system-config-api", "proxmox-tfa", "proxmox-time", "proxmox-uuid", diff --git a/proxmox-dns-api/Cargo.toml b/proxmox-system-config-api/Cargo.toml similarity index 85% rename from proxmox-dns-api/Cargo.toml rename to proxmox-system-config-api/Cargo.toml index a3410621..9ed8858c 100644 --- a/proxmox-dns-api/Cargo.toml +++ b/proxmox-system-config-api/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "proxmox-dns-api" +name = "proxmox-system-config-api" version = "0.1.0" authors.workspace = true edition.workspace = true license.workspace = true repository.workspace = true exclude.workspace = true -description = "DNS API implementation (read/write /etc/resolv.conf)" +description = "System configuration API implementation (DNS, Time, Network)" [dependencies] anyhow.workspace = true diff --git a/proxmox-dns-api/debian/changelog b/proxmox-system-config-api/debian/changelog similarity index 61% rename from proxmox-dns-api/debian/changelog rename to proxmox-system-config-api/debian/changelog index 5d0790e1..121ed15c 100644 --- a/proxmox-dns-api/debian/changelog +++ b/proxmox-system-config-api/debian/changelog @@ -1,4 +1,4 @@ -rust-proxmox-dns-api (0.1.0-1) bookworm; urgency=medium +rust-proxmox-system-config-api (0.1.0-1) bookworm; urgency=medium * initial packaging diff --git a/proxmox-dns-api/debian/copyright b/proxmox-system-config-api/debian/copyright similarity index 100% rename from proxmox-dns-api/debian/copyright rename to proxmox-system-config-api/debian/copyright diff --git a/proxmox-dns-api/debian/debcargo.toml b/proxmox-system-config-api/debian/debcargo.toml similarity index 100% rename from proxmox-dns-api/debian/debcargo.toml rename to proxmox-system-config-api/debian/debcargo.toml diff --git a/proxmox-dns-api/src/api_types.rs b/proxmox-system-config-api/src/api_types.rs similarity index 100% rename from proxmox-dns-api/src/api_types.rs rename to proxmox-system-config-api/src/api_types.rs diff --git a/proxmox-dns-api/src/lib.rs b/proxmox-system-config-api/src/lib.rs similarity index 100% rename from proxmox-dns-api/src/lib.rs rename to proxmox-system-config-api/src/lib.rs diff --git a/proxmox-dns-api/src/resolv_conf.rs b/proxmox-system-config-api/src/resolv_conf.rs similarity index 100% rename from proxmox-dns-api/src/resolv_conf.rs rename to proxmox-system-config-api/src/resolv_conf.rs