Major cleanup and optimization: Remove unused dependencies, clean build artifacts, and improve project structure
- Remove 7 unused dependencies: apt-pkg-native, pkg-config, walkdir, lazy_static, futures, async-trait, cap-std - Delete dead code: Remove unused parallel.rs module - Clean build artifacts: Remove debian/cargo/, debian/.debhelper/, and other build files - Update .gitignore: Comprehensive patterns for build artifacts, test files, and temporary files - Move documentation: Relocate project docs to docs/ directory - Remove test artifacts: Clean up test files and package archives - Update Cargo.toml: Streamline dependencies and remove unused features - Verify build: Ensure project still compiles after cleanup This commit significantly reduces project size and improves build efficiency.
This commit is contained in:
parent
a2c10ee77f
commit
791774eb66
26 changed files with 6870 additions and 1992 deletions
54
.gitignore
vendored
54
.gitignore
vendored
|
|
@ -4,11 +4,37 @@
|
|||
!/.notes/inspiration/readme.md
|
||||
*/inspiration/
|
||||
inspiration
|
||||
|
||||
# Rust build artifacts
|
||||
/target/
|
||||
**/*.rs.bk
|
||||
Cargo.lock
|
||||
|
||||
# Debian build artifacts
|
||||
*.deb
|
||||
*.ddeb
|
||||
*.udeb
|
||||
debian/.debhelper/
|
||||
debian/cargo/
|
||||
debian/*.debhelper
|
||||
debian/debhelper-build-stamp
|
||||
debian/*.log
|
||||
debian/*.substvars
|
||||
debian/files
|
||||
debian/*.conffiles
|
||||
debian/*.postinst
|
||||
debian/*.postrm
|
||||
debian/*.prerm
|
||||
debian/*.triggers
|
||||
|
||||
# Package archives and tarballs
|
||||
*.tar
|
||||
*.tar.gz
|
||||
*.tar.xz
|
||||
*.tar.bz2
|
||||
*.zip
|
||||
*.7z
|
||||
|
||||
# IDE and editor files
|
||||
.vscode/
|
||||
.idea/
|
||||
|
|
@ -28,6 +54,7 @@ Thumbs.db
|
|||
# Logs
|
||||
*.log
|
||||
logs/
|
||||
debian/*.log
|
||||
|
||||
# Temporary files
|
||||
*.tmp
|
||||
|
|
@ -43,3 +70,30 @@ tmp/
|
|||
# Trash
|
||||
.1trash/
|
||||
stubs.txt
|
||||
|
||||
# Test artifacts
|
||||
test-*.log
|
||||
test-results/
|
||||
coverage/
|
||||
*.profraw
|
||||
*.profdata
|
||||
|
||||
# Build stamps and cache
|
||||
*.stamp
|
||||
.cache/
|
||||
.cargo/registry/
|
||||
.cargo/git/
|
||||
|
||||
# Generated documentation
|
||||
docs/_build/
|
||||
docs/.doctrees/
|
||||
docs/api/
|
||||
|
||||
# Environment files
|
||||
.env
|
||||
.env.local
|
||||
.env.*.local
|
||||
|
||||
# Local configuration
|
||||
config.local.*
|
||||
*.local
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue