Skip to content

Commit

Permalink
Merge pull request #466 from nextcloud/build-updates
Browse files Browse the repository at this point in the history
Build updates
  • Loading branch information
icewind1991 authored Jun 24, 2024
2 parents 4ed9f12 + 0f3c4dd commit 30ea145
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 56 deletions.
69 changes: 35 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ edition = "2021"
rust-version = "1.74.0"

[dependencies]
redis = { version = "0.25.3", default-features = false, features = ["tokio-comp", "aio", "cluster", "cluster-async"] }
redis = { version = "0.25.4", default-features = false, features = ["tokio-comp", "aio", "cluster", "cluster-async", "keep-alive"] }
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.117"
thiserror = "1.0.61"
warp = { version = "0.3.7", features = ["tls"] }
tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread", "signal"] }
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread", "signal"] }
futures = "0.3.30"
log = "0.4.21"
sqlx = { version = "0.7.4", features = ["runtime-tokio-rustls", "any", "mysql", "sqlite", "postgres"] }
Expand All @@ -22,11 +22,11 @@ miette = { version = "7.2.0", features = ["fancy"] }
smallvec = { version = "1.13.2", features = ["serde"] }
reqwest = { version = "0.11.27", default-features = false, features = ["rustls-tls", "json"] }
warp-real-ip = "0.2.0"
parse-display = "0.9.0"
parse-display = "0.9.1"
percent-encoding = "2.3.1"
rand = { version = "0.8.5", features = ["small_rng"] }
ahash = "0.8.11"
flexi_logger = { version = "0.28.0", features = ["colors", "is-terminal"] }
flexi_logger = { version = "0.28.1", features = ["colors", "is-terminal"] }
tokio-stream = { version = "0.1.15", features = ["net"] }
derivative = "2.2.0"
nextcloud-config-parser = { version = "0.10.0", features = ["redis-connect"] }
Expand Down
32 changes: 16 additions & 16 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
utils.url = "github:numtide/flake-utils";
naersk.url = "github:nix-community/naersk";
naersk.inputs.nixpkgs.follows = "nixpkgs";
Expand Down
1 change: 1 addition & 0 deletions src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use warp::Filter;

pub static METRICS: Metrics = Metrics::new();

#[derive(Default)]
pub struct Metrics {
active_connection_count: AtomicUsize,
active_user_count: AtomicUsize,
Expand Down
2 changes: 1 addition & 1 deletion test_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"
tungstenite = { version = "0.21.0", features = ["rustls-tls-webpki-roots"] }
serde_json = "1.0.117"
ureq = "2.9.7"
flexi_logger = { version = "0.28.0", features = ["colors"] }
flexi_logger = { version = "0.28.1", features = ["colors"] }
log = "0.4.21"
base64 = "0.22.1"
miette = { version = "7.2.0", features = ["fancy"] }
Expand Down

0 comments on commit 30ea145

Please sign in to comment.