blob: f467c2cf78769ed37c515b5b33f276a243c03541 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#[derive(Debug)]
pub struct Semver;
impl Semver {
pub fn sort(versions: Vec<String>) -> anyhow::Result<Vec<String>> {
todo!()
}
pub fn rsort(versions: Vec<String>) -> Vec<String> {
todo!()
}
pub fn satisfies(version: &str, constraint: &str) -> bool {
todo!()
}
}
|