fix: commit Cargo.lock for reproducible builds

Cargo.lock should be committed for applications (not libraries) to ensure
reproducible builds across environments. This is required for Docker builds
and is the recommended practice per Rust guidelines.

Removed Cargo.lock from:
- .gitignore
- .dockerignore

This fixes the Docker build error:
  ERROR: "/Cargo.lock": not found
This commit is contained in:
Till Wegmueller 2025-11-29 16:14:39 +01:00
parent bd42b06fff
commit 0ce360f004
No known key found for this signature in database
3 changed files with 4402 additions and 2 deletions

View file

@ -12,7 +12,7 @@
# Rust # Rust
target/ target/
Cargo.lock # Note: Cargo.lock is needed for reproducible builds
# Build artifacts # Build artifacts
*.db *.db

2
.gitignore vendored
View file

@ -4,7 +4,7 @@
*.pdb *.pdb
# Cargo # Cargo
Cargo.lock # Note: Cargo.lock should be committed for applications (not ignored)
# IDE and editor files # IDE and editor files
.idea/ .idea/

4400
Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff