1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#![no_std]
#![deny(missing_debug_implementations, missing_copy_implementations)]
#![warn(missing_docs, rustdoc::missing_crate_level_docs)]
#![doc = include_str!("../readme.md")]
#![doc(html_logo_url = "https://raw.githubusercontent.com/oovm/shape-rs/dev/projects/images/Trapezohedron.svg")]
#![doc(html_favicon_url = "https://raw.githubusercontent.com/oovm/shape-rs/dev/projects/images/Trapezohedron.svg")]

extern crate alloc;

mod errors;
mod version;
mod version_tag;
mod version_req;

pub use crate::errors::{VersionError, Result};
pub use crate::version::Version;
pub use crate::version_tag::VersionTag;
pub use crate::version_req::{VersionComparator, VersionConstraint, VersionRequire};

#[cfg(feature = "semver")]
pub use semver::Version as SemVer;