chore: update dependencies

This commit is contained in:
daimond113 2024-09-29 00:44:39 +02:00
parent 8bb07bea60
commit bfc4e6ec31
No known key found for this signature in database
GPG key ID: 3A8ECE51328B513C
4 changed files with 20 additions and 22 deletions

4
Cargo.lock generated
View file

@ -36,9 +36,9 @@ dependencies = [
[[package]] [[package]]
name = "actix-governor" name = "actix-governor"
version = "0.5.0" version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2e7b88f3804e01bd4191fdb08650430bbfcb43d3d9b2890064df3551ec7d25b" checksum = "0954b0f27aabd8f56bb03f2a77b412ddf3f8c034a3c27b2086c1fc75415760df"
dependencies = [ dependencies = [
"actix-http", "actix-http",
"actix-web", "actix-web",

View file

@ -41,40 +41,38 @@ required-features = ["bin"]
uninlined_format_args = "warn" uninlined_format_args = "warn"
[dependencies] [dependencies]
serde = { version = "1.0.209", features = ["derive"] } serde = { version = "1.0.210", features = ["derive"] }
toml = "0.8.19" toml = "0.8.19"
serde_with = "3.9.0" serde_with = "3.9.0"
gix = { version = "0.66.0", default-features = false, features = ["blocking-http-transport-reqwest-rust-tls", "revparse-regex", "credentials"] } gix = { version = "0.66.0", default-features = false, features = ["blocking-http-transport-reqwest-rust-tls", "revparse-regex", "credentials"] }
semver = { version = "1.0.23", features = ["serde"] } semver = { version = "1.0.23", features = ["serde"] }
reqwest = { version = "0.12.7", default-features = false, features = ["rustls-tls", "blocking"] } reqwest = { version = "0.12.7", default-features = false, features = ["rustls-tls", "blocking"] }
tar = "0.4.41" tar = "0.4.42"
flate2 = "1.0.33" flate2 = "1.0.34"
pathdiff = "0.2.1" pathdiff = "0.2.1"
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 = "1.0.63" thiserror = "1.0.64"
threadpool = "1.8.1" threadpool = "1.8.1"
full_moon = { version = "1.0.0-rc.5", features = ["luau"] } full_moon = { version = "1.0.0-rc.5", features = ["luau"] }
url = { version = "2.5.2", features = ["serde"] } url = { version = "2.5.2", features = ["serde"] }
# TODO: reevaluate whether to use this
# secrecy = "0.8.0"
chrono = { version = "0.4.38", features = ["serde"] } chrono = { version = "0.4.38", features = ["serde"] }
sha2 = "0.10.8" sha2 = "0.10.8"
tempfile = "3.12.0" tempfile = "3.13.0"
glob = "0.3.1" glob = "0.3.1"
# TODO: remove this when gitoxide adds support for: committing, pushing, adding # TODO: remove this when gitoxide adds support for: committing, pushing, adding
git2 = { version = "0.19.0", optional = true } git2 = { version = "0.19.0", optional = true }
zip = { version = "2.2.0", optional = true } zip = { version = "2.2.0", optional = true }
serde_json = { version = "1.0.127", optional = true } serde_json = { version = "1.0.128", optional = true }
anyhow = { version = "1.0.86", optional = true } anyhow = { version = "1.0.89", optional = true }
open = { version = "5.3.0", optional = true } open = { version = "5.3.0", optional = true }
keyring = { version = "3.2.1", features = ["crypto-rust", "windows-native", "apple-native", "sync-secret-service"], optional = true } keyring = { version = "3.3.0", features = ["crypto-rust", "windows-native", "apple-native", "sync-secret-service"], optional = true }
colored = { version = "2.1.0", optional = true } colored = { version = "2.1.0", optional = true }
toml_edit = { version = "0.22.20", optional = true } toml_edit = { version = "0.22.22", optional = true }
clap = { version = "4.5.16", features = ["derive"], optional = true } clap = { version = "4.5.18", 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.8", optional = true }

View file

@ -9,15 +9,15 @@ publish = false
actix-web = "4.9.0" actix-web = "4.9.0"
actix-multipart = "0.7.2" actix-multipart = "0.7.2"
actix-cors = "0.7.0" actix-cors = "0.7.0"
actix-governor = "0.5.0" actix-governor = "0.6.0"
dotenvy = "0.15.7" dotenvy = "0.15.7"
thiserror = "1.0.63" thiserror = "1.0.64"
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.2"
futures = "0.3.30" futures = "0.3.30"
tempfile = "3.12.0" tempfile = "3.13.0"
git2 = "0.19.0" git2 = "0.19.0"
gix = { version = "0.66.0", default-features = false, features = [ gix = { version = "0.66.0", default-features = false, features = [
@ -25,8 +25,8 @@ gix = { version = "0.66.0", default-features = false, features = [
"credentials", "credentials",
] } ] }
serde = "1.0.209" serde = "1.0.210"
serde_json = "1.0.127" serde_json = "1.0.128"
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"
@ -36,8 +36,8 @@ rusty-s3 = "0.5.0"
reqwest = { version = "0.12.7", features = ["json", "rustls-tls"] } reqwest = { version = "0.12.7", features = ["json", "rustls-tls"] }
constant_time_eq = "0.3.1" constant_time_eq = "0.3.1"
tar = "0.4.41" tar = "0.4.42"
flate2 = "1.0.33" flate2 = "1.0.34"
log = "0.4.22" log = "0.4.22"
pretty_env_logger = "0.5.0" pretty_env_logger = "0.5.0"

View file

@ -124,7 +124,7 @@ async fn run(with_sentry: bool) -> std::io::Result<()> {
let publish_governor_config = GovernorConfigBuilder::default() let publish_governor_config = GovernorConfigBuilder::default()
.key_extractor(UserIdExtractor) .key_extractor(UserIdExtractor)
.burst_size(12) .burst_size(12)
.per_second(60) .seconds_per_request(60)
.use_headers() .use_headers()
.finish() .finish()
.unwrap(); .unwrap();