appmgr: mod.rs v0_2_8 current

This commit is contained in:
Aaron Greenspan
2021-01-11 12:44:39 -07:00
committed by Aiden McClelland
parent 0874d77403
commit 9f9d32e0db
2 changed files with 27 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
use super::*;
use crate::util::Invoke;
const V0_2_8: emver::Version = emver::Version::new(0, 2, 8, 0);
pub struct Version;
#[async_trait]
impl VersionT for Version {
type Previous = v0_2_8::Version;
fn new() -> Self {
Version
}
fn semver(&self) -> &'static emver::Version {
&V0_2_4
}
async fn up(&self) -> Result<(), Error> {
Ok(())
}
async fn down(&self) -> Result<(), Error> {
Ok(())
}
}