RuVector Security Utilities
This crate provides security primitives for the RuVector vector database:
- Path Validation: Prevents path traversal attacks (S-3)
- Authentication: Token-based authentication middleware (S-1)
- CORS Configuration: Configurable CORS policies (S-2)
- Rate Limiting: Token bucket rate limiter (S-5)
- FFI Safety: Safe pointer handling utilities (S-4, S-6)
Example
use ;
let validator = new;
assert!;
assert!;