1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Move to Rust edition 2021

Also bump MSRV to 1.56 and use the same clippy lints in every crate
This commit is contained in:
Quentin Gliech
2021-12-09 22:54:35 +01:00
parent abab5d8446
commit c4a979245b
26 changed files with 42 additions and 38 deletions

View File

@@ -12,6 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#![forbid(unsafe_code)]
#![deny(clippy::all)]
#![deny(rustdoc::broken_intra_doc_links)]
#![warn(clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]
#![allow(clippy::missing_panics_doc)]
#![allow(clippy::missing_errors_doc)]
use async_trait::async_trait;
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};