update dependencies

master
Aleš Katona 5 days ago
parent 46199310f0
commit e10a96402f
Signed by: almindor
GPG Key ID: 2F773149BF38B48F

879
Cargo.lock generated

File diff suppressed because it is too large Load Diff

@ -12,11 +12,12 @@ categories = ["development-tools::cargo-plugins", "command-line-utilities"]
repository = "https://codeberg.org/almindor/cargo-vcs"
[dependencies]
clap = { version = "3.2", features = ["derive"] }
crossterm = "0.24"
clap = { version = "4.5", features = ["derive"] }
crossterm = "0.28"
enumset = "1.0"
git2 = "0.14"
machine-uid = "0.2"
git2 = "0.19"
machine-uid = "0.5"
semver = "1.0"
termtree = "0.4"
toml = "0.5"
serde = "1.0"
termtree = "0.5"
toml = "0.8"

@ -6,10 +6,7 @@ use std::{
path::{Path, PathBuf},
};
use toml::{
value::{Map, Table},
Value,
};
use toml::{map::Map, value::Table, Value};
pub mod cli;
mod colors;
@ -201,8 +198,9 @@ impl Vcs {
if let Some(section) = vcs_section.as_table_mut() {
section.insert(profile_name.into(), value);
} else {
return Err(Error::Upstream(Box::new(toml::ser::Error::Custom(
"Existing vcs section not a table".into(),
use serde::ser::Error as _;
return Err(Error::Upstream(Box::new(toml::ser::Error::custom(
"Existing vcs section not a table",
))));
}
} else {

Loading…
Cancel
Save