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]
|
||||
members = [
|
||||
"proxmox-tools",
|
||||
"proxmox",
|
||||
"proxmox-api",
|
||||
"proxmox-api-macro",
|
||||
"proxmox-sortable-macro",
|
||||
"proxmox-sys",
|
||||
"proxmox",
|
||||
|
||||
"sorted-data",
|
||||
"proxmox-tools",
|
||||
|
||||
# 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
|
||||
|
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "sorted-data"
|
||||
name = "proxmox-sortable-macro"
|
||||
version = "0.1.0"
|
||||
authors = ["Wolfgang Bumiller <w.bumiller@proxmox.com>"]
|
||||
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
|
||||
// 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-sys = { path = "../proxmox-sys" }
|
||||
proxmox-tools = { path = "../proxmox-tools" }
|
||||
sorted-data = { path = "../sorted-data", optional = true }
|
||||
proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
valgrind = ["proxmox-tools/valgrind"]
|
||||
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")]
|
||||
pub use proxmox_tools::identity;
|
||||
|
||||
#[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