feat: ship Rust login manager and GitLab release pipeline

Replace the legacy Go implementation as the production path, quarantine the reference tree, add deterministic release packaging and version metadata, and run verification through GitLab CI.
This commit is contained in:
2026-09-25 21:33:46 +05:30
parent 1723ab53b8
commit faf5b27328
49 changed files with 6795 additions and 747 deletions

20
Dockerfile.test Normal file
View File

@@ -0,0 +1,20 @@
FROM rust:1.88.0-bookworm
ENV CARGO_TERM_COLOR=never
ENV RUST_BACKTRACE=1
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
libpam0g-dev libpam-modules xauth xvfb pkg-config \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
COPY Cargo.toml Cargo.lock rust-toolchain.toml ./
COPY build.rs ./
COPY rust ./rust
COPY crates ./crates
RUN cargo fmt --all -- --check \
&& cargo test --locked --all-targets \
&& cargo clippy --locked --all-targets --all-features -- -D warnings \
&& RUSTDOCFLAGS="-D warnings" cargo doc --locked --no-deps