MKT_KSA_Geolocation_Security 2.0.0

Smart geolocation & behavioral security library for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM rust:1.80-slim as builder

WORKDIR /app

# Pre-fetch dependencies for better caching
COPY Cargo.toml .
RUN mkdir -p src && echo "fn main() {}" > src/main.rs
RUN rustup component add clippy rustfmt && cargo fetch

# Copy full source
COPY . .

# Default command: run clippy strictly
CMD ["bash", "-lc", "cargo clippy --all-targets --all-features -- -W clippy::all -W clippy::pedantic -W clippy::cargo -W clippy::nursery -D warnings"]