1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
// License: see LICENSE file at root directory of `master` branch //! # ~~Deprecated~~ //! //! # Project //! //! - Repository: <https://bitbucket.org/haibison/dia-go> //! - License: [Free Public License 1.0.0](https://opensource.org/licenses/FPL-1.0.0) //! - _This project follows [Semantic Versioning 2.0.0]_ //! //! [Semantic Versioning 2.0.0]: https://semver.org/spec/v2.0.0.html //! [`Go`]: struct.Go.html //! [dia_go::Tags]: struct.Tags.html // ╔═════════════════╗ // ║ IDENTIFIERS ║ // ╚═════════════════╝ macro_rules! code_name { () => { "dia-go" } } macro_rules! version { () => { "0.3.1+deprecated" } } /// # Crate name pub const NAME: &'static str = "Dia-go"; /// # Crate code name pub const CODE_NAME: &'static str = code_name!(); /// # Crate version name pub const VERSION: &'static str = version!(); /// # Crate release date (year/month/day) pub const RELEASE_DATE: (u16, u8, u8) = (2019, 2, 15); /// # Unique universally identifier of this crate. Its CRC-32 is `ebb126a0`. pub const UUID: &'static str = "7f00c74f-c4b7-490f-b886-c7eb8c6cd1ee"; /// # Tag, which can be used for logging... pub const TAG: &'static str = concat!(code_name!(), "::ebb126a0::", version!()); // ╔════════════════════╗ // ║ IMPLEMENTATION ║ // ╚════════════════════╝ #[test] fn test_crate_version() { assert_eq!(VERSION, env!("CARGO_PKG_VERSION")); }