Compare commits

..

2 Commits

Author SHA1 Message Date
Aleš Katona a17b879ce1
release v0.2.1 11 months ago
Aleš Katona e10a96402f
update dependencies 11 months ago

881
Cargo.lock generated

File diff suppressed because it is too large Load Diff

@ -1,6 +1,6 @@
[package] [package]
name = "cargo-vcs" name = "cargo-vcs"
version = "0.2.0" version = "0.2.1"
description = "Cargo workspace helper for Version Control System project management" description = "Cargo workspace helper for Version Control System project management"
edition = "2021" edition = "2021"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
@ -12,11 +12,12 @@ categories = ["development-tools::cargo-plugins", "command-line-utilities"]
repository = "https://codeberg.org/almindor/cargo-vcs" repository = "https://codeberg.org/almindor/cargo-vcs"
[dependencies] [dependencies]
clap = { version = "3.2", features = ["derive"] } clap = { version = "4.5", features = ["derive"] }
crossterm = "0.24" crossterm = "0.28"
enumset = "1.0" enumset = "1.0"
git2 = "0.14" git2 = "0.19"
machine-uid = "0.2" machine-uid = "0.5"
semver = "1.0" semver = "1.0"
termtree = "0.4" serde = "1.0"
toml = "0.5" termtree = "0.5"
toml = "0.8"

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

Loading…
Cancel
Save