mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 11:00:36 +00:00
chore: update dependencies
This commit is contained in:
parent
083bf3badd
commit
9b31718a0e
5 changed files with 330 additions and 316 deletions
562
Cargo.lock
generated
562
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
54
Cargo.toml
54
Cargo.toml
|
@ -11,28 +11,28 @@ include = ["src/**/*", "Cargo.toml", "Cargo.lock", "README.md", "LICENSE", "CHAN
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
bin = [
|
bin = [
|
||||||
"clap",
|
"dep:clap",
|
||||||
"dirs",
|
"dep:dirs",
|
||||||
"pretty_env_logger",
|
"dep:pretty_env_logger",
|
||||||
"reqwest/json",
|
"reqwest/json",
|
||||||
"indicatif",
|
"dep:indicatif",
|
||||||
"indicatif-log-bridge",
|
"dep:indicatif-log-bridge",
|
||||||
"inquire",
|
"dep:inquire",
|
||||||
"toml_edit",
|
"dep:toml_edit",
|
||||||
"colored",
|
"dep:colored",
|
||||||
"anyhow",
|
"dep:anyhow",
|
||||||
"keyring",
|
"dep:keyring",
|
||||||
"open",
|
"dep:open",
|
||||||
"gix/worktree-mutation",
|
"gix/worktree-mutation",
|
||||||
"serde_json",
|
"dep:serde_json",
|
||||||
"winreg",
|
"dep:winreg",
|
||||||
"fs-err/expose_original_error",
|
"fs-err/expose_original_error",
|
||||||
"tokio/rt",
|
"tokio/rt",
|
||||||
"tokio/rt-multi-thread",
|
"tokio/rt-multi-thread",
|
||||||
"tokio/macros",
|
"tokio/macros",
|
||||||
]
|
]
|
||||||
wally-compat = ["async_zip", "serde_json"]
|
wally-compat = ["dep:async_zip", "dep:serde_json"]
|
||||||
patches = ["git2"]
|
patches = ["dep:git2"]
|
||||||
version-management = ["bin"]
|
version-management = ["bin"]
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
@ -44,24 +44,24 @@ required-features = ["bin"]
|
||||||
uninlined_format_args = "warn"
|
uninlined_format_args = "warn"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = { version = "1.0.214", features = ["derive"] }
|
serde = { version = "1.0.215", features = ["derive"] }
|
||||||
toml = "0.8.19"
|
toml = "0.8.19"
|
||||||
serde_with = "3.11.0"
|
serde_with = "3.11.0"
|
||||||
gix = { version = "0.67.0", default-features = false, features = ["blocking-http-transport-reqwest-rust-tls", "revparse-regex", "credentials", "parallel"] }
|
gix = { version = "0.68.0", default-features = false, features = ["blocking-http-transport-reqwest-rust-tls", "revparse-regex", "credentials", "parallel"] }
|
||||||
semver = { version = "1.0.23", features = ["serde"] }
|
semver = { version = "1.0.23", features = ["serde"] }
|
||||||
reqwest = { version = "0.12.9", default-features = false, features = ["rustls-tls"] }
|
reqwest = { version = "0.12.9", default-features = false, features = ["rustls-tls"] }
|
||||||
tokio-tar = "0.3.1"
|
tokio-tar = "0.3.1"
|
||||||
async-compression = { version = "0.4.17", features = ["tokio", "gzip"] }
|
async-compression = { version = "0.4.18", features = ["tokio", "gzip"] }
|
||||||
pathdiff = "0.2.2"
|
pathdiff = "0.2.3"
|
||||||
relative-path = { version = "1.9.3", features = ["serde"] }
|
relative-path = { version = "1.9.3", features = ["serde"] }
|
||||||
log = "0.4.22"
|
log = "0.4.22"
|
||||||
thiserror = "2.0.2"
|
thiserror = "2.0.3"
|
||||||
tokio = "1.41.0"
|
tokio = "1.41.1"
|
||||||
tokio-util = "0.7.12"
|
tokio-util = "0.7.12"
|
||||||
async-stream = "0.3.6"
|
async-stream = "0.3.6"
|
||||||
futures = "0.3.31"
|
futures = "0.3.31"
|
||||||
full_moon = { version = "1.1.0", features = ["luau"] }
|
full_moon = { version = "1.1.2", features = ["luau"] }
|
||||||
url = { version = "2.5.3", features = ["serde"] }
|
url = { version = "2.5.4", features = ["serde"] }
|
||||||
chrono = { version = "0.4.38", features = ["serde"] }
|
chrono = { version = "0.4.38", features = ["serde"] }
|
||||||
sha2 = "0.10.8"
|
sha2 = "0.10.8"
|
||||||
tempfile = "3.14.0"
|
tempfile = "3.14.0"
|
||||||
|
@ -72,17 +72,17 @@ fs-err = { version = "3.0.0", features = ["tokio"] }
|
||||||
git2 = { version = "0.19.0", optional = true }
|
git2 = { version = "0.19.0", optional = true }
|
||||||
|
|
||||||
async_zip = { version = "0.0.17", features = ["tokio", "deflate", "deflate64", "tokio-fs"], optional = true }
|
async_zip = { version = "0.0.17", features = ["tokio", "deflate", "deflate64", "tokio-fs"], optional = true }
|
||||||
serde_json = { version = "1.0.132", optional = true }
|
serde_json = { version = "1.0.133", optional = true }
|
||||||
|
|
||||||
anyhow = { version = "1.0.93", optional = true }
|
anyhow = { version = "1.0.93", optional = true }
|
||||||
open = { version = "5.3.0", optional = true }
|
open = { version = "5.3.1", optional = true }
|
||||||
keyring = { version = "3.6.1", features = ["crypto-rust", "windows-native", "apple-native", "async-secret-service", "async-io"], optional = true }
|
keyring = { version = "3.6.1", features = ["crypto-rust", "windows-native", "apple-native", "async-secret-service", "async-io"], optional = true }
|
||||||
colored = { version = "2.1.0", optional = true }
|
colored = { version = "2.1.0", optional = true }
|
||||||
toml_edit = { version = "0.22.22", optional = true }
|
toml_edit = { version = "0.22.22", optional = true }
|
||||||
clap = { version = "4.5.20", features = ["derive"], optional = true }
|
clap = { version = "4.5.21", features = ["derive"], optional = true }
|
||||||
dirs = { version = "5.0.1", optional = true }
|
dirs = { version = "5.0.1", optional = true }
|
||||||
pretty_env_logger = { version = "0.5.0", optional = true }
|
pretty_env_logger = { version = "0.5.0", optional = true }
|
||||||
indicatif = { version = "0.17.8", optional = true }
|
indicatif = { version = "0.17.9", optional = true }
|
||||||
indicatif-log-bridge = { version = "0.2.3", optional = true }
|
indicatif-log-bridge = { version = "0.2.3", optional = true }
|
||||||
inquire = { version = "0.7.5", optional = true }
|
inquire = { version = "0.7.5", optional = true }
|
||||||
|
|
||||||
|
|
|
@ -10,25 +10,25 @@ actix-web = "4.9.0"
|
||||||
actix-cors = "0.7.0"
|
actix-cors = "0.7.0"
|
||||||
actix-governor = "0.7.0"
|
actix-governor = "0.7.0"
|
||||||
dotenvy = "0.15.7"
|
dotenvy = "0.15.7"
|
||||||
thiserror = "2.0.2"
|
thiserror = "2.0.3"
|
||||||
tantivy = "0.22.0"
|
tantivy = "0.22.0"
|
||||||
semver = "1.0.23"
|
semver = "1.0.23"
|
||||||
chrono = { version = "0.4.38", features = ["serde"] }
|
chrono = { version = "0.4.38", features = ["serde"] }
|
||||||
url = "2.5.2"
|
url = "2.5.4"
|
||||||
futures = "0.3.31"
|
futures = "0.3.31"
|
||||||
tokio = "1.41.0"
|
tokio = "1.41.1"
|
||||||
tempfile = "3.14.0"
|
tempfile = "3.14.0"
|
||||||
fs-err = { version = "3.0.0", features = ["tokio"] }
|
fs-err = { version = "3.0.0", features = ["tokio"] }
|
||||||
async-stream = "0.3.6"
|
async-stream = "0.3.6"
|
||||||
|
|
||||||
git2 = "0.19.0"
|
git2 = "0.19.0"
|
||||||
gix = { version = "0.67.0", default-features = false, features = [
|
gix = { version = "0.68.0", default-features = false, features = [
|
||||||
"blocking-http-transport-reqwest-rust-tls",
|
"blocking-http-transport-reqwest-rust-tls",
|
||||||
"credentials",
|
"credentials",
|
||||||
] }
|
] }
|
||||||
|
|
||||||
serde = "1.0.214"
|
serde = "1.0.215"
|
||||||
serde_json = "1.0.132"
|
serde_json = "1.0.133"
|
||||||
serde_yaml = "0.9.34"
|
serde_yaml = "0.9.34"
|
||||||
toml = "0.8.19"
|
toml = "0.8.19"
|
||||||
convert_case = "0.6.0"
|
convert_case = "0.6.0"
|
||||||
|
@ -39,7 +39,7 @@ reqwest = { version = "0.12.9", features = ["json", "rustls-tls"] }
|
||||||
constant_time_eq = "0.3.1"
|
constant_time_eq = "0.3.1"
|
||||||
|
|
||||||
tokio-tar = "0.3.1"
|
tokio-tar = "0.3.1"
|
||||||
async-compression = { version = "0.4.17", features = ["tokio", "gzip"] }
|
async-compression = { version = "0.4.18", features = ["tokio", "gzip"] }
|
||||||
|
|
||||||
log = "0.4.22"
|
log = "0.4.22"
|
||||||
pretty_env_logger = "0.5.0"
|
pretty_env_logger = "0.5.0"
|
||||||
|
@ -48,7 +48,4 @@ sentry = "0.34.0"
|
||||||
sentry-log = "0.34.0"
|
sentry-log = "0.34.0"
|
||||||
sentry-actix = "0.34.0"
|
sentry-actix = "0.34.0"
|
||||||
|
|
||||||
pesde = { path = "..", features = [
|
pesde = { path = "..", features = ["wally-compat"] }
|
||||||
"wally-compat",
|
|
||||||
"git2",
|
|
||||||
] }
|
|
||||||
|
|
|
@ -348,8 +348,9 @@ pub async fn publish_package(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let repo = source.repo_git2(&app_state.project)?;
|
let repo = Repository::open_bare(source.path(&app_state.project))?;
|
||||||
let gix_repo = gix::open(repo.path())?;
|
let gix_repo = gix::open(repo.path())?;
|
||||||
|
|
||||||
let gix_tree = root_tree(&gix_repo)?;
|
let gix_tree = root_tree(&gix_repo)?;
|
||||||
|
|
||||||
let (scope, name) = manifest.name.as_str();
|
let (scope, name) = manifest.name.as_str();
|
||||||
|
|
|
@ -90,14 +90,6 @@ impl PesdePackageSource {
|
||||||
.await
|
.await
|
||||||
.unwrap()
|
.unwrap()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The git2 repository for the index
|
|
||||||
#[cfg(feature = "git2")]
|
|
||||||
pub fn repo_git2(&self, project: &Project) -> Result<git2::Repository, git2::Error> {
|
|
||||||
let path = self.path(project);
|
|
||||||
|
|
||||||
git2::Repository::open_bare(&path)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PackageSource for PesdePackageSource {
|
impl PackageSource for PesdePackageSource {
|
||||||
|
|
Loading…
Reference in a new issue