Skip to content

Rust: update supported languages and frameworks #19280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

redsun82
Copy link
Contributor

@redsun82 redsun82 commented Apr 11, 2025

This should be kept unmerged until we get to the public preview phase.

@redsun82 redsun82 changed the title Rust: start preparing documentation changes Rust: update supported languages and frameworks Apr 11, 2025
Copy link
Contributor

@geoffw0 geoffw0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more libraries we model (partial support, but then I don't think we can claim to fully model any libraries). Sorry I probably missed a few of these in the list I sent you before.

We also have models for the standard io library coming in #19304 , I should update that PR once this is merged or vice-versa.

`reqwest <https://crates.io/crates/reqwest>`__, HTTP client
`rusqlite <https://crates.io/crates/rusqlite>`__, Database
std, Standard library
`tokio-postgres <https://crates.io/crates/tokio-postgres>`__, Database
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`tokio-postgres <https://crates.io/crates/tokio-postgres>`__, Database
`sqlx <https://crates.io/crates/sqlx>`__, Database
`tokio-postgres <https://crates.io/crates/tokio-postgres>`__, Database

Models for "sqlx" exist in https://github.com/github/codeql/blob/main/rust/ql/lib/codeql/rust/frameworks/Sqlx.qll .

`libc <https://crates.io/crates/libc>`__, Utility library
`log <https://crates.io/crates/log>`__, Logging library
`md5 <https://crates.io/crates/md5>`__, Utility library
`postgres <https://crates.io/crates/postgres>`__, Database
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`postgres <https://crates.io/crates/postgres>`__, Database
`poem <https://crates.io/crates/poem>`__, Web framework
`postgres <https://crates.io/crates/postgres>`__, Database

A limited model for "poem" exists in https://github.com/github/codeql/blob/main/rust/ql/lib/codeql/rust/frameworks/Poem.qll .

`regex <https://crates.io/crates/regex>`__, Utility library
`reqwest <https://crates.io/crates/reqwest>`__, HTTP client
`rusqlite <https://crates.io/crates/rusqlite>`__, Database
std, Standard library
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
std, Standard library
std, Standard library
`rust-crypto <https://crates.io/crates/rust-crypto>`__, Cryptography library

See https://github.com/github/codeql/tree/main/rust/ql/lib/codeql/rust/frameworks/rustcrypto .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants