-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -306,6 +306,39 @@ and the CodeQL library pack ``codeql/ruby-all`` (`changelog <https://github.com/ | |||||||
rubyzip, Compression library | ||||||||
typhoeus, HTTP client | ||||||||
|
||||||||
Rust built-in support | ||||||||
==================================== | ||||||||
|
||||||||
Provided by the current versions of the | ||||||||
CodeQL query pack ``codeql/rust-queries`` (`changelog <https://github.com/github/codeql/tree/codeql-cli/latest/rust/ql/src/CHANGELOG.md>`__, `source <https://github.com/github/codeql/tree/codeql-cli/latest/rust/ql/src>`__) | ||||||||
and the CodeQL library pack ``codeql/rust-all`` (`changelog <https://github.com/github/codeql/tree/codeql-cli/latest/rust/ql/lib/CHANGELOG.md>`__, `source <https://github.com/github/codeql/tree/codeql-cli/latest/rust/ql/lib>`__). | ||||||||
All support is experimental. | ||||||||
|
||||||||
.. csv-table:: | ||||||||
:header-rows: 1 | ||||||||
:class: fullWidthTable | ||||||||
:widths: auto | ||||||||
:align: left | ||||||||
|
||||||||
Name, Category | ||||||||
alloc, Standard library | ||||||||
core, Standard library | ||||||||
`digest <https://crates.io/crates/digest>`__, Cryptography library | ||||||||
`futures-executor <https://crates.io/crates/futures-executor>`__, Utility library | ||||||||
`hyper <https://crates.io/crates/hyper>`__, HTTP library | ||||||||
`hyper-util <https://crates.io/crates/hyper-util>`__, HTTP library | ||||||||
`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 | ||||||||
proc_macro, Standard library | ||||||||
`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 | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
See https://github.com/github/codeql/tree/main/rust/ql/lib/codeql/rust/frameworks/rustcrypto . |
||||||||
`tokio-postgres <https://crates.io/crates/tokio-postgres>`__, Database | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Models for "sqlx" exist in https://github.com/github/codeql/blob/main/rust/ql/lib/codeql/rust/frameworks/Sqlx.qll . |
||||||||
`url <https://crates.io/crates/url>`__, Utility library | ||||||||
|
||||||||
Swift built-in support | ||||||||
================================ | ||||||||
|
||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A limited model for "poem" exists in https://github.com/github/codeql/blob/main/rust/ql/lib/codeql/rust/frameworks/Poem.qll .