# const-semver
Const construction of semver-compatible version structs in Rust.
It's simply a const clone of [Steve Klabnik's semver crate](https://github.com/steveklabnik/semver), with some utilities for converting between them.
Primary use case is for defining const Version strings at compile-time, for example:
```rust
use const_semver::{Version, version};
trait Resource {
const VERSION: Version;
}
struct MyResource {}
impl Resource for MyResource {
const VERSION: Version = version!(1,2,3-beta.4+amd64)
}
```