From de72f36c8961e798f04bc89f30741a5b7de87907 Mon Sep 17 00:00:00 2001 From: Lachezar Lechev Date: Thu, 12 Oct 2023 10:40:04 +0300 Subject: [PATCH] feat: re-export semver::Version for manifest Signed-off-by: Lachezar Lechev --- src/types/addon/manifest.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/types/addon/manifest.rs b/src/types/addon/manifest.rs index a31209e23..b9d196897 100644 --- a/src/types/addon/manifest.rs +++ b/src/types/addon/manifest.rs @@ -4,12 +4,14 @@ use crate::types::{UniqueVec, UniqueVecAdapter}; use derivative::Derivative; use derive_more::Deref; use either::Either; -use semver::Version; use serde::{Deserialize, Deserializer, Serialize}; use serde_with::{serde_as, DefaultOnError, DefaultOnNull, DeserializeAs, NoneAsEmptyString}; use std::borrow::Cow; use url::Url; +/// Re-export the semver::Version +pub use semver::Version; + #[serde_as] #[derive(Clone, PartialEq, Eq, Serialize, Deserialize, Debug)] #[cfg_attr(test, derive(Derivative))]