No-allocation vector
Instructions
This Rust library provides a no-allocation vector implementation. This vector is designed to work with a fixed maximum length, avoiding heap allocations (aka putting the vector on the stack) and making it suitable for embedded systems or other environments where dynamic memory allocation is not suitable.
Usage
use Vec;
const MAX_LENGTH: usize = 10;
let mut vec = Vec:: new;
vec.push.unwrap;
vec.push.unwrap;
assert_eq!;
assert_eq!;
assert_eq!;
CI / CD
The CI/CD pipeline is configured using GitHub Actions. The workflow is defined in the .github/workflows
folder:
- Static Analysis (source code, GitHub Actions)
- Tests (unit tests with code coverage generated, benchmarking)
- Code Audit (on each Cargo dependencies update, or run each day through CronJob)
- Deployment
Additionally, Dependabot is configured to automatically update dependencies (GitHub Actions, Cargo dependencies).
Repository configuration
The settings of this repository are managed from the gitops-deployments repository using Terraform. The actual configuration applied is located in the Terraform module modules/github-repository
.