sys: drop sortable and identity macros

We should not use the sys crate to pull in the sortable
macro, just depend on its crate instead...
And the identity macro used to be required by the sortable
macro, but is not anymore and has been deprecated for a
while, so we can now drop it.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2023-03-01 13:40:39 +01:00
parent 2cf54dcf2e
commit 7e12788c60
2 changed files with 0 additions and 18 deletions

View File

@ -21,16 +21,12 @@ serde_json.workspace = true
serde = { workspace = true, features = [ "derive" ] }
zstd = { workspace = true, optional = true}
# Macro crates:
proxmox-sortable-macro = { workspace = true, optional = true }
proxmox-io.workspace = true
proxmox-lang.workspace = true
proxmox-time.workspace = true
[features]
default = []
sortable-macro = ["dep:proxmox-sortable-macro"]
logrotate = ["dep:zstd"]
acl = []
crypt = []

View File

@ -18,20 +18,6 @@ pub mod systemd;
mod worker_task_context;
pub use worker_task_context::*;
#[deprecated(
since = "0.2.2",
note = "the sortable macro does not require this anymore, it will be removed"
)]
/// An identity (nop) macro. Used by the `#[sortable]` proc macro.
#[cfg(feature = "sortable-macro")]
#[macro_export]
macro_rules! identity {
($($any:tt)*) => ($($any)*)
}
#[cfg(feature = "sortable-macro")]
pub use proxmox_sortable_macro::sortable;
#[allow(deprecated)]
use fd::Fd;