Skip to content

Commit

Permalink
feat: re-export semver::Version for manifest
Browse files Browse the repository at this point in the history
Signed-off-by: Lachezar Lechev <[email protected]>
  • Loading branch information
elpiel committed Oct 12, 2023
1 parent d41a820 commit de72f36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types/addon/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))]
Expand Down

0 comments on commit de72f36

Please sign in to comment.