Compare commits

1 Commits

Author SHA1 Message Date
039f8f94e2 fix(deps): update all dependencies
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2024-12-04 05:24:20 +00:00
4 changed files with 562 additions and 855 deletions

1407
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -17,14 +17,14 @@ anyhow = { version = "1.0.79", features = ["backtrace"] }
serde = { version = "1.0.196", features = ["derive"] } serde = { version = "1.0.196", features = ["derive"] }
serde_yaml = "0.9.31" serde_yaml = "0.9.31"
walkdir = "2.4.0" walkdir = "2.4.0"
git2 = { version = "0.20.0", default-features = false, features = [ git2 = { version = "0.19.0", default-features = false, features = [
"vendored-libgit2", "vendored-libgit2",
"vendored-openssl", "vendored-openssl",
"ssh", "ssh",
] } ] }
clap = { version = "4.4.18", features = ["env", "string"] } clap = { version = "4.4.18", features = ["env", "string"] }
envconfig = "0.11.0" envconfig = "0.11.0"
dirs = "6.0.0" dirs = "5.0.1"
tracing = "0.1.40" tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["json", "env-filter"] } tracing-subscriber = { version = "0.3.18", features = ["json", "env-filter"] }
log = { version = "0.4.20", features = ["std", "kv_unstable"] } log = { version = "0.4.20", features = ["std", "kv_unstable"] }
@@ -39,7 +39,7 @@ tempfile = { version = "3.10.0" }
serde_json = "1.0.113" serde_json = "1.0.113"
rlua = "0.20.0" rlua = "0.20.0"
rlua-searcher = "0.1.0" rlua-searcher = "0.1.0"
dotenvy = { version = "0.15.7" } dotenv = { version = "0.15.0", features = ["clap"] }
blake3 = "1.5.0" blake3 = "1.5.0"
tokio = { version = "1.36.0", features = ["full"] } tokio = { version = "1.36.0", features = ["full"] }
futures-util = "0.3.30" futures-util = "0.3.30"

View File

@@ -129,7 +129,7 @@ pub fn execute_init(exe_submatch: &ArgMatches, _cli: CuddleCli) -> anyhow::Resul
if dir.count() != 0 { if dir.count() != 0 {
for entry in read_dir(&path)? { for entry in read_dir(&path)? {
let entry = entry?; let entry = entry?;
if entry.file_name() == ".git" || entry.file_name() == ".jj" { if entry.file_name() == ".git" {
continue; continue;
} else { } else {
anyhow::bail!("Directory {} is not empty", &path); anyhow::bail!("Directory {} is not empty", &path);

View File

@@ -11,7 +11,7 @@ mod util;
fn main() -> anyhow::Result<()> { fn main() -> anyhow::Result<()> {
init_logging()?; init_logging()?;
let _ = dotenvy::dotenv(); let _ = dotenv::dotenv();
let config = CuddleConfig::from_env()?; let config = CuddleConfig::from_env()?;