# Copilot Instructions for Cognition Crate
This is a Rust library crate focused on cognitive computing algorithms and structures. When contributing to this project:
## Code Style Guidelines
- Follow standard Rust conventions and use `rustfmt` for formatting
- Use comprehensive documentation comments (`///`) for all public APIs
- Include examples in documentation where helpful
- Write meaningful unit tests for all functionality
## Library Focus
- This crate provides foundational cognitive computing primitives
- Focus on clean, efficient implementations suitable for both research and production
- Prefer generic, composable APIs over rigid, specific implementations
- Consider performance implications for computationally intensive operations
## Dependencies
- Keep dependencies minimal and well-justified
- Prefer standard library implementations when possible
- Document any external dependencies and their purpose
## Documentation
- All public APIs should have clear documentation
- Include usage examples in module-level documentation
- Consider adding examples to the `examples/` directory for complex use cases