FOSSA supports Rust codebases through Cargo.
Feature in Alpha
FOSSA's support for Cargo is currently in Alpha.
When Rust code is imported, FOSSA will inspect any
cargo.lock files and download their dependencies for analysis.
- Optional dependencies are currently handled like Java optional dependencies, when they should be enabled/disabled based on features
- FOSSA does not currently understand default/missing features aren't supported
- FOSSA does not handle path dependencies that point above your repo root
Provided Builds currently does not have support for Cargo builds.
Currently, FOSSA supports only public packages on the Cargo registry.
Cargo packages are downloaded and extracted for full code auditing; metadata from the registry and
cargo.toml manifest are parsed and extracted.