Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SERVER_HOST=0.0.0.0

# Log/Trace settings
LOG_LEVEL=trace
TRACE_LOG_LEVEL=trace
OTEL_LOG_LEVEL=trace

# Auth settings
JWT_SECRET=bc3ef5f9b140bfdeb31e7fd183841e06255f6a9e41e422cf267a22f5468d7223
Expand Down
92 changes: 64 additions & 28 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "rust-simple-chat"
version = "0.1.0"
edition = "2024"

[profile.production]
[profile.release-lto]
inherits = "release"
lto = true

Expand Down Expand Up @@ -32,8 +32,8 @@ serde_json = "1.0.140"
anyhow = { version = "1.0.97", default-features = false }
async-trait = { version = "0.1.88" }
axum = { version = "0.8.3", features = ["http1", "http2", "json", "macros"] }
caslex = { version = "0.2.1", features = ["auth"] }
caslex-extra = { version = "0.2.3", features = ["observability", "postgres", "jwt"] }
caslex = { version = "0.2.3", features = ["auth"] }
caslex-extra = { version = "0.2.4", features = ["observability", "postgres", "jwt"] }
chrono = { version = "0.4.40", features = ["serde"] }
deadpool-postgres = { version = "0.14.1" }
mockall = { version = "0.13.1" }
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.85.1"
channel = "1.86"
components = ["rustfmt", "clippy", "rust-analyzer"]
profile = "minimal"
3 changes: 1 addition & 2 deletions src/bin/chat/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ mod entrypoint;

#[tokio::main]
async fn main() {
static SERVICE_NAME: &str = env!("CARGO_PKG_NAME");
caslex_extra::setup_application(SERVICE_NAME);
caslex_extra::setup_application(env!("CARGO_PKG_NAME"));

let mut entry = entrypoint::Entrypoint::new();
let entry_result = entry.bootstrap_server().await;
Expand Down
3 changes: 1 addition & 2 deletions src/bin/worker/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ mod entrypoint;

#[tokio::main]
async fn main() {
static SERVICE_NAME: &str = env!("CARGO_PKG_NAME");
caslex_extra::setup_application(SERVICE_NAME);
caslex_extra::setup_application(env!("CARGO_PKG_NAME"));

let mut entry = entrypoint::Entrypoint::new();
let entry_result = entry.bootstrap_server().await;
Expand Down
Loading