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
50
clear-changelog.sh
Executable file
50
clear-changelog.sh
Executable file
|
|
@ -0,0 +1,50 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Clear the changelog file after git commit
|
||||
# Usage: ./clear-changelog.sh
|
||||
|
||||
echo "Clearing changelog..."
|
||||
|
||||
# Clear the changelog content but keep the structure
|
||||
cat > CHANGELOG.md << 'EOF'
|
||||
# Changelog
|
||||
|
||||
This file tracks changes made during development sessions. After each git commit, this file is cleared to start fresh.
|
||||
|
||||
## Current Session Changes
|
||||
|
||||
### Commands Enhanced
|
||||
-
|
||||
|
||||
### Features Added
|
||||
-
|
||||
|
||||
### Technical Improvements
|
||||
-
|
||||
|
||||
### Files Modified
|
||||
-
|
||||
|
||||
## Usage
|
||||
|
||||
1. **During Development**: Add brief notes about changes made
|
||||
2. **Before Commit**: Review changes and format for commit message
|
||||
3. **After Commit**: Clear this file to start fresh for next session
|
||||
|
||||
## Commit Message Format
|
||||
|
||||
Use the following format for commit messages:
|
||||
|
||||
```
|
||||
feat: brief description of changes
|
||||
|
||||
- Key change 1
|
||||
- Key change 2
|
||||
- Key change 3
|
||||
|
||||
Files: file1.rs, file2.rs
|
||||
```
|
||||
EOF
|
||||
|
||||
echo "Changelog cleared successfully!"
|
||||
echo "Ready for next development session."
|
||||
Loading…
Add table
Add a link
Reference in a new issue