From a483cc97d56a770c4ccf91dfccf790a8c2d0c9fa Mon Sep 17 00:00:00 2001 From: Kim Altintop Date: Wed, 29 Mar 2023 13:20:08 +0200 Subject: core: version each metadata type separately It turns out to be preferable to be able to break one type without affecting the other. So instead of the global SpecVersion, use a separate FmtVersion for each type. For compatibility, keep supporting spec_version fields (until next major bump of the respective types' version). Signed-off-by: Kim Altintop --- src/lib.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 789f99f..c8c8887 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -16,8 +16,6 @@ mod serde; mod ssh; mod str; -pub const SPEC_VERSION: metadata::SpecVersion = metadata::SpecVersion::current(); - pub mod cmd; pub use cmd::{ ui::Output, -- cgit v1.2.3