This is a Cargo workspace containing all rustnn projects.
# Clone all repositories and set up the workspace
make setup
# Build all projects
make build
# Run tests
make testThis workspace includes the following projects:
- rustnn - Core neural network library
- trtx-rs - TensorRT integration for Rust
- webnn-graph - WebNN graph implementation
- webnn-onnx-utils - ONNX utilities for WebNN
- search-bikeshed - Search functionality
Run make help to see all available commands:
make setup- Clone all repositories and set up the workspacemake clone- Clone all project repositoriesmake build- Build all workspace membersmake build-release- Build in release mode with optimizationsmake test- Run all testsmake check- Run cargo checkmake fmt- Format all codemake clippy- Run clippy lintermake clean- Clean build artifactsmake update- Pull latest changes from all repositoriesmake status- Show git status for all projects
- Initial setup:
make setup - Make changes in any of the sub-projects
- Build:
make build - Test:
make test - Format:
make fmt - Check:
make clippy
Each project is a git repository. You can work on them independently:
cd rustnn
git checkout -b my-feature
# make changes
git commit -m "Add feature"
git push origin my-feature- Unified dependency management: Shared dependencies across projects
- Cross-project refactoring: Changes can span multiple crates
- Single build command: Build all projects together
- Consistent tooling: Shared formatting and linting rules