15 lines
390 B
Rust
15 lines
390 B
Rust
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
|
pub struct ExtensionMigration {
|
|
pub version: u32,
|
|
pub checksum: &'static str,
|
|
pub source_digest: &'static str,
|
|
pub phase: &'static str,
|
|
pub compatibility: &'static str,
|
|
pub owner: &'static str,
|
|
}
|
|
|
|
pub trait RegistryExtension: Send + Sync {
|
|
fn name(&self) -> &str;
|
|
fn migrations(&self) -> &[ExtensionMigration];
|
|
}
|