mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-16 13:35:33 +00:00
rename sorted-data to proxmox-sortable_macro
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
297aca53f7
commit
7f4d223a4a
@ -1,12 +1,11 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
"proxmox-tools",
|
"proxmox",
|
||||||
"proxmox-api",
|
"proxmox-api",
|
||||||
"proxmox-api-macro",
|
"proxmox-api-macro",
|
||||||
|
"proxmox-sortable-macro",
|
||||||
"proxmox-sys",
|
"proxmox-sys",
|
||||||
"proxmox",
|
"proxmox-tools",
|
||||||
|
|
||||||
"sorted-data",
|
|
||||||
|
|
||||||
# This is an api server test and may be temporarily broken by changes to
|
# This is an api server test and may be temporarily broken by changes to
|
||||||
# proxmox-api or proxmox-api-macro, but should ultimately be updated to work
|
# proxmox-api or proxmox-api-macro, but should ultimately be updated to work
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "sorted-data"
|
name = "proxmox-sortable-macro"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Wolfgang Bumiller <w.bumiller@proxmox.com>"]
|
authors = ["Wolfgang Bumiller <w.bumiller@proxmox.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
@ -1,4 +1,4 @@
|
|||||||
use sorted_data::sortable;
|
use proxmox_sortable_macro::sortable;
|
||||||
|
|
||||||
// The way #[sorted] works we require an 'identity' macro due to the inability of the syntax tree
|
// The way #[sorted] works we require an 'identity' macro due to the inability of the syntax tree
|
||||||
// visitor to change the type of a syntax tree element.
|
// visitor to change the type of a syntax tree element.
|
@ -12,10 +12,10 @@ proxmox-api = { path = "../proxmox-api" }
|
|||||||
proxmox-api-macro = { path = "../proxmox-api-macro", optional = true }
|
proxmox-api-macro = { path = "../proxmox-api-macro", optional = true }
|
||||||
proxmox-sys = { path = "../proxmox-sys" }
|
proxmox-sys = { path = "../proxmox-sys" }
|
||||||
proxmox-tools = { path = "../proxmox-tools" }
|
proxmox-tools = { path = "../proxmox-tools" }
|
||||||
sorted-data = { path = "../sorted-data", optional = true }
|
proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
valgrind = ["proxmox-tools/valgrind"]
|
valgrind = ["proxmox-tools/valgrind"]
|
||||||
api-macro = ["proxmox-api-macro"]
|
api-macro = ["proxmox-api-macro"]
|
||||||
sortable-macro = ["sorted-data"]
|
sortable-macro = ["proxmox-sortable-macro"]
|
||||||
|
@ -11,5 +11,9 @@ pub mod api {
|
|||||||
|
|
||||||
#[cfg(feature = "sortable-macro")]
|
#[cfg(feature = "sortable-macro")]
|
||||||
pub use proxmox_tools::identity;
|
pub use proxmox_tools::identity;
|
||||||
|
|
||||||
#[cfg(feature = "sortable-macro")]
|
#[cfg(feature = "sortable-macro")]
|
||||||
pub use sorted_data::{self, sortable};
|
pub use proxmox_sortable_macro as sortable_macro;
|
||||||
|
|
||||||
|
#[cfg(feature = "sortable-macro")]
|
||||||
|
pub use proxmox_sortable_macro::sortable;
|
||||||
|
Loading…
Reference in New Issue
Block a user