Skip to content

Commit

Permalink
Fix build of serde_core on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
osiewicz committed Jul 2, 2024
1 parent 4921ea2 commit c71ecab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions serde_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
// Support using Serde without the standard library!
#![cfg_attr(not(feature = "std"), no_std)]
// Show which crate feature enables conditionally compiled APIs in documentation.
#![cfg_attr(docsrs, feature(docsrs))]
#![cfg_attr(docsrs, feature(doc_cfg, rustdoc_internals))]
#![cfg_attr(docsrs, allow(internal_features))]
// Unstable functionality only if the user asks for it. For tracking and
// discussion of these features please refer to this issue:
//
// https://github.com/serde-rs/serde/issues/812
#![cfg_attr(feature = "unstable", feature(error_in_core, never_type))]
#![cfg_attr(feature = "unstable", feature(never_type))]
#![allow(unknown_lints, bare_trait_objects, deprecated)]
// Ignored clippy and clippy_pedantic lints
#![allow(
Expand Down

0 comments on commit c71ecab

Please sign in to comment.