Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #249 from dtolnay/up
Browse files Browse the repository at this point in the history
Update to rust 1.56 and 2021 edition
  • Loading branch information
dtolnay committed Jul 9, 2022
2 parents d3f930a + 1b0d9d5 commit cc65145
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .clippy.toml
@@ -1 +1 @@
msrv = "1.31.0"
msrv = "1.56.0"
4 changes: 2 additions & 2 deletions Cargo.toml
Expand Up @@ -2,8 +2,8 @@
name = "serde_yaml"
version = "0.8.25" # remember to update html_root_url, and readme for major versions
authors = ["David Tolnay <dtolnay@gmail.com>"]
edition = "2018"
rust-version = "1.46"
edition = "2021"
rust-version = "1.56"
license = "MIT OR Apache-2.0"
description = "YAML support for Serde"
repository = "https://github.com/dtolnay/serde-yaml"
Expand Down
4 changes: 4 additions & 0 deletions src/lib.rs
Expand Up @@ -76,8 +76,10 @@
clippy::should_implement_trait,
// things are often more readable this way
clippy::cast_lossless,
clippy::checked_conversions,
clippy::if_not_else,
clippy::manual_assert,
clippy::match_like_matches_macro,
clippy::match_same_arms,
clippy::module_name_repetitions,
clippy::needless_pass_by_value,
Expand All @@ -95,6 +97,8 @@
// noisy
clippy::missing_errors_doc,
clippy::must_use_candidate,
// todo
clippy::manual_strip,
)]

pub use crate::de::{from_reader, from_slice, from_str, Deserializer};
Expand Down

0 comments on commit cc65145

Please sign in to comment.