Skip to content

Commit

Permalink
Clippy lints, so snake case the crate name
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyja committed Mar 14, 2024
1 parent f996b1e commit 9ca775a
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 40 deletions.
66 changes: 33 additions & 33 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,5 +1,5 @@
[package]
name = "UpGuardian"
name = "up_guardian"
version = "0.1.0"
edition = "2021"
license = "private"
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Expand Up @@ -24,7 +24,7 @@ RUN curl -fsSL https://bun.sh/install | BUN_INSTALL=/app bash

ENV PATH="/app/bin:${PATH}"

RUN cargo build --release --locked --bin UpGuardian
RUN cargo build --release --locked --bin up_guardian

# Start building the final image
FROM debian:stable-slim as final
Expand All @@ -35,8 +35,8 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/* \
&& update-ca-certificates

COPY --from=builder /app/target/release/UpGuardian .
COPY --from=builder /app/target/release/up_guardian .

EXPOSE 3001

ENTRYPOINT ["./UpGuardian"]
ENTRYPOINT ["./up_guardian"]
4 changes: 2 additions & 2 deletions src/jobs/create_checkin.rs
@@ -1,8 +1,8 @@
use chrono::Duration;

use cja::{app_state::AppState as _, jobs::Job};
use miette::IntoDiagnostic;
use serde::{Deserialize, Serialize};
use sqlx::postgres::types::PgInterval;

use tokio::time::Instant;
use uuid::Uuid;

Expand Down
2 changes: 1 addition & 1 deletion src/routes/mod.rs
Expand Up @@ -5,7 +5,7 @@ use axum::{
Router,
};
use include_dir::Dir;
use miette::{IntoDiagnostic as _, Report};
use miette::{IntoDiagnostic as _};

use crate::app_state::AppState;

Expand Down

0 comments on commit 9ca775a

Please sign in to comment.