diff --git a/Cargo.lock b/Cargo.lock index 3a6ba57..05d2812 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -36,9 +36,9 @@ dependencies = [ [[package]] name = "actix-governor" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2e7b88f3804e01bd4191fdb08650430bbfcb43d3d9b2890064df3551ec7d25b" +checksum = "0954b0f27aabd8f56bb03f2a77b412ddf3f8c034a3c27b2086c1fc75415760df" dependencies = [ "actix-http", "actix-web", diff --git a/Cargo.toml b/Cargo.toml index 1559936..b3087a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,40 +41,38 @@ required-features = ["bin"] uninlined_format_args = "warn" [dependencies] -serde = { version = "1.0.209", features = ["derive"] } +serde = { version = "1.0.210", features = ["derive"] } toml = "0.8.19" serde_with = "3.9.0" 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"] } reqwest = { version = "0.12.7", default-features = false, features = ["rustls-tls", "blocking"] } -tar = "0.4.41" -flate2 = "1.0.33" +tar = "0.4.42" +flate2 = "1.0.34" pathdiff = "0.2.1" relative-path = { version = "1.9.3", features = ["serde"] } log = "0.4.22" -thiserror = "1.0.63" +thiserror = "1.0.64" threadpool = "1.8.1" full_moon = { version = "1.0.0-rc.5", features = ["luau"] } url = { version = "2.5.2", features = ["serde"] } -# TODO: reevaluate whether to use this -# secrecy = "0.8.0" chrono = { version = "0.4.38", features = ["serde"] } sha2 = "0.10.8" -tempfile = "3.12.0" +tempfile = "3.13.0" glob = "0.3.1" # TODO: remove this when gitoxide adds support for: committing, pushing, adding git2 = { version = "0.19.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 } -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 } -toml_edit = { version = "0.22.20", optional = true } -clap = { version = "4.5.16", features = ["derive"], optional = true } +toml_edit = { version = "0.22.22", optional = true } +clap = { version = "4.5.18", features = ["derive"], optional = true } dirs = { version = "5.0.1", optional = true } pretty_env_logger = { version = "0.5.0", optional = true } indicatif = { version = "0.17.8", optional = true } diff --git a/registry/Cargo.toml b/registry/Cargo.toml index fc919ef..fda6747 100644 --- a/registry/Cargo.toml +++ b/registry/Cargo.toml @@ -9,15 +9,15 @@ publish = false actix-web = "4.9.0" actix-multipart = "0.7.2" actix-cors = "0.7.0" -actix-governor = "0.5.0" +actix-governor = "0.6.0" dotenvy = "0.15.7" -thiserror = "1.0.63" +thiserror = "1.0.64" tantivy = "0.22.0" semver = "1.0.23" chrono = { version = "0.4.38", features = ["serde"] } url = "2.5.2" futures = "0.3.30" -tempfile = "3.12.0" +tempfile = "3.13.0" git2 = "0.19.0" gix = { version = "0.66.0", default-features = false, features = [ @@ -25,8 +25,8 @@ gix = { version = "0.66.0", default-features = false, features = [ "credentials", ] } -serde = "1.0.209" -serde_json = "1.0.127" +serde = "1.0.210" +serde_json = "1.0.128" serde_yaml = "0.9.34" toml = "0.8.19" convert_case = "0.6.0" @@ -36,8 +36,8 @@ rusty-s3 = "0.5.0" reqwest = { version = "0.12.7", features = ["json", "rustls-tls"] } constant_time_eq = "0.3.1" -tar = "0.4.41" -flate2 = "1.0.33" +tar = "0.4.42" +flate2 = "1.0.34" log = "0.4.22" pretty_env_logger = "0.5.0" diff --git a/registry/src/main.rs b/registry/src/main.rs index ceeef8a..1419fbe 100644 --- a/registry/src/main.rs +++ b/registry/src/main.rs @@ -124,7 +124,7 @@ async fn run(with_sentry: bool) -> std::io::Result<()> { let publish_governor_config = GovernorConfigBuilder::default() .key_extractor(UserIdExtractor) .burst_size(12) - .per_second(60) + .seconds_per_request(60) .use_headers() .finish() .unwrap();