mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 04:53:40 +00:00
22 lines
435 B
Rust
22 lines
435 B
Rust
use super::*;
|
|
|
|
const V0_2_5: emver::Version = emver::Version::new(0, 2, 5, 0);
|
|
|
|
pub struct Version;
|
|
#[async_trait]
|
|
impl VersionT for Version {
|
|
type Previous = v0_2_4::Version;
|
|
fn new() -> Self {
|
|
Version
|
|
}
|
|
fn semver(&self) -> &'static emver::Version {
|
|
&V0_2_5
|
|
}
|
|
async fn up(&self) -> Result<(), Error> {
|
|
Ok(())
|
|
}
|
|
async fn down(&self) -> Result<(), Error> {
|
|
Ok(())
|
|
}
|
|
}
|