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>
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 = []
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;