mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-13 20:15:10 +00:00
add proxmox-rrd-api-types crate - moved out of proxmox-rrd
so we can access them from wasm without pulling in proxmox-rrd as it also pulls in sys... Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
e57a65879e
commit
0177b1d975
@ -30,6 +30,7 @@ members = [
|
||||
"proxmox-rest-server",
|
||||
"proxmox-router",
|
||||
"proxmox-rrd",
|
||||
"proxmox-rrd-api-types",
|
||||
"proxmox-schema",
|
||||
"proxmox-section-config",
|
||||
"proxmox-serde",
|
||||
|
15
proxmox-rrd-api-types/Cargo.toml
Normal file
15
proxmox-rrd-api-types/Cargo.toml
Normal file
@ -0,0 +1,15 @@
|
||||
[package]
|
||||
name = "proxmox-rrd-api-types"
|
||||
version = "1.0.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
exclude.workspace = true
|
||||
description = "Types for RRD values."
|
||||
|
||||
[dependencies]
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_plain.workspace = true
|
||||
|
||||
proxmox-schema = { workspace = true, features = [ "api-macro" ] }
|
5
proxmox-rrd-api-types/debian/changelog
Normal file
5
proxmox-rrd-api-types/debian/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
rust-proxmox-rrd-api-types (1.0.0-1) bookworm; urgency=medium
|
||||
|
||||
* split out of proxmox-rrd
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Wed, 18 Sep 2024 15:24:01 +0200
|
18
proxmox-rrd-api-types/debian/copyright
Normal file
18
proxmox-rrd-api-types/debian/copyright
Normal file
@ -0,0 +1,18 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
|
||||
Files:
|
||||
*
|
||||
Copyright: 2024 Proxmox Server Solutions GmbH <support@proxmox.com>
|
||||
License: AGPL-3.0-or-later
|
||||
This program is free software: you can redistribute it and/or modify it under
|
||||
the terms of the GNU Affero General Public License as published by the Free
|
||||
Software Foundation, either version 3 of the License, or (at your option) any
|
||||
later version.
|
||||
.
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
||||
details.
|
||||
.
|
||||
You should have received a copy of the GNU Affero General Public License along
|
||||
with this program. If not, see <https://www.gnu.org/licenses/>.
|
7
proxmox-rrd-api-types/debian/debcargo.toml
Normal file
7
proxmox-rrd-api-types/debian/debcargo.toml
Normal file
@ -0,0 +1,7 @@
|
||||
overlay = "."
|
||||
crate_src_path = ".."
|
||||
maintainer = "Proxmox Support Team <support@proxmox.com>"
|
||||
|
||||
[source]
|
||||
vcs_git = "git://git.proxmox.com/git/proxmox.git"
|
||||
vcs_browser = "https://git.proxmox.com/?p=proxmox.git"
|
@ -17,7 +17,7 @@ bitflags.workspace = true
|
||||
crossbeam-channel.workspace = true
|
||||
log.workspace = true
|
||||
nix.workspace = true
|
||||
serde.workspace = true
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_cbor.workspace = true
|
||||
serde_json.workspace = true
|
||||
serde_plain.workspace = true
|
||||
@ -28,5 +28,4 @@ proxmox-time.workspace = true
|
||||
|
||||
[features]
|
||||
default = [ "rrd_v1" ]
|
||||
api-types = []
|
||||
rrd_v1 = []
|
||||
|
@ -17,6 +17,3 @@ pub use rrd::Entry;
|
||||
|
||||
mod cache;
|
||||
pub use cache::*;
|
||||
|
||||
#[cfg(feature = "api-types")]
|
||||
pub mod api_types;
|
||||
|
Loading…
Reference in New Issue
Block a user