diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2023-02-04 17:14:52 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-04 22:14:52 +0000 |
| commit | d74bc0dc3b7e2c576fdf87b6ee40a3db81b2051b (patch) | |
| tree | b25380759135abdebd35caa3af52259acb353416 /src/rust | |
| parent | 540c607baedbbee5744971ae2d69fb3dbe3ad4ac (diff) | |
| download | cryptography-d74bc0dc3b7e2c576fdf87b6ee40a3db81b2051b.tar.gz | |
Specify rust-version for clippy (#8206)
Diffstat (limited to 'src/rust')
| -rw-r--r-- | src/rust/Cargo.toml | 2 | ||||
| -rw-r--r-- | src/rust/src/lib.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml index d557fc049..053902b01 100644 --- a/src/rust/Cargo.toml +++ b/src/rust/Cargo.toml @@ -4,6 +4,8 @@ version = "0.1.0" authors = ["The cryptography developers <cryptography-dev@python.org>"] edition = "2018" publish = false +# This specifies the MSRV +rust-version = "1.48.0" [dependencies] once_cell = "1" diff --git a/src/rust/src/lib.rs b/src/rust/src/lib.rs index 614680268..afc96ed8a 100644 --- a/src/rust/src/lib.rs +++ b/src/rust/src/lib.rs @@ -6,10 +6,8 @@ // Temporarily allow `clippy::borrow_deref_ref` until we can upgrade to the // latest pyo3: https://github.com/PyO3/pyo3/pull/2503 // -// `clippy::uninlined_format_args` is required until our MSRV is >=1.58.0 -// // `unknown_lints` is required until GHA upgrades their rustc. -#![allow(unknown_lints, clippy::borrow_deref_ref, clippy::uninlined_format_args)] +#![allow(unknown_lints, clippy::borrow_deref_ref)] mod asn1; mod intern; |
