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