Merge rust-bitcoin/rust-bitcoin#3546: Copy crate level attributes to chacha20_poly1305

9f60e1ae26 Copy crate level attributes to chacha20_poly1305 (Tobin C. Harding)

Pull request description:

  No obvious reason not to; copy the crate level attributes that we have in all our other crates.

ACKs for top commit:
  apoelstra:
    ACK 9f60e1ae26d2ff29a53e90bccd5a580d7a0f2c84; successfully ran local tests

Tree-SHA512: 5b861fc3a7f05cb4bd24f714a47266616d462ffa67253249f214339d341f39d5f42e35d7e23269bdf40182041b6138e9b304f7883c644f9e522ec2a90be5cb99
This commit is contained in:
merge-script 2024-11-04 16:58:11 +00:00
commit 58885dba8e
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 10 additions and 0 deletions

View File

@ -4,6 +4,16 @@
//! to form an authenticated encryption with additional data (AEAD) algorithm.
#![no_std]
// Experimental features we need.
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
// Coding conventions.
#![warn(missing_docs)]
#![warn(deprecated_in_future)]
#![doc(test(attr(warn(unused))))]
// Exclude lints we don't think are valuable.
#![allow(clippy::needless_question_mark)] // https://github.com/rust-bitcoin/rust-bitcoin/pull/2134
#![allow(clippy::manual_range_contains)] // More readable than clippy's format.
#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(feature = "std")]