Compare commits

..

No commits in common. 'a17b879ce1c7a935cc458ea5dff31c4ce060057b' and '46199310f0ae19709e66e3f7c976cb6878ede97c' have entirely different histories.

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.1" version = "0.2.0"
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,12 +12,11 @@ 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 = "4.5", features = ["derive"] } clap = { version = "3.2", features = ["derive"] }
crossterm = "0.28" crossterm = "0.24"
enumset = "1.0" enumset = "1.0"
git2 = "0.19" git2 = "0.14"
machine-uid = "0.5" machine-uid = "0.2"
semver = "1.0" semver = "1.0"
serde = "1.0" termtree = "0.4"
termtree = "0.5" toml = "0.5"
toml = "0.8"

@ -6,7 +6,10 @@ use std::{
path::{Path, PathBuf}, path::{Path, PathBuf},
}; };
use toml::{map::Map, value::Table, Value}; use toml::{
value::{Map, Table},
Value,
};
pub mod cli; pub mod cli;
mod colors; mod colors;
@ -198,9 +201,8 @@ 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 {
use serde::ser::Error as _; return Err(Error::Upstream(Box::new(toml::ser::Error::Custom(
return Err(Error::Upstream(Box::new(toml::ser::Error::custom( "Existing vcs section not a table".into(),
"Existing vcs section not a table",
)))); ))));
} }
} else { } else {

Loading…
Cancel
Save