upsft 0.0.3

A simple CLI tool to update multiple dependencies
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Dependecy structure
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, serde::Deserialize)]
pub struct Dependency {
    pub name: String,
    pub update_command: String,
}

impl Dependency {
    pub fn new(name: String, update_command: String) -> Self {
        Self {
            name,
            update_command,
        }
    }
}