Rust

Rust is supported for Snyk Code and for Snyk Open Source.

Applicability

The following functions are available for Rust:

Package managers and supported file extensions

For Rust, Snyk supports Cargo as a package manager and crates.io as a package registry. It does not support any file formats.

Frameworks and libraries

For Rust with Snyk Open Source, the following frameworks and libraries are supported:

  • Warp - Comprehensive

  • Rust standard library - Comprehensive

  • Iron - Comprehensive

  • tokio - Comprehensive

  • Hyper - Comprehensive

  • axum - Comprehensive

  • tower - Partial

  • age - Comprehensive

  • ammonia - Comprehensive

  • diesel - Comprehensive

  • orion - Comprehensive

  • postgres - Comprehensive

  • ring - Comprehensive

  • rustcrypto - Comprehensive

  • sqlx - Comprehensive

  • Reqwest - Comprehensive

Features

For Rust with Snyk Code, the following features are supported:

  • Support for Interfile analysis

  • Reports

Code analysis support for Rust is available with Snyk Preview.

For Rust with Snyk Open Source, there are no features supported.

If you want to use Open Source PR checks in Rust Projects for which the Fix PRs feature is not supported, it is possible that vulnerable dependencies are introduced without being flagged.

Last updated

Was this helpful?