Skip to content

Commit 37f235b

Browse files
committed
Add compile requirements from iced.
Mostly to require documentation, but provides a few other requirements to be consistant with upstream.
1 parent a315337 commit 37f235b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/lib.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
#![doc(
2+
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
3+
)]
4+
#![deny(
5+
missing_debug_implementations,
6+
missing_docs,
7+
unused_results,
8+
clippy::extra_unused_lifetimes,
9+
clippy::from_over_into,
10+
clippy::needless_borrow,
11+
clippy::new_without_default,
12+
clippy::useless_conversion
13+
)]
14+
#![forbid(unsafe_code, rust_2018_idioms)]
15+
#![allow(clippy::inherent_to_string, clippy::type_complexity)]
16+
#![cfg_attr(docsrs, feature(doc_cfg))]
117
pub mod timeline;
218
pub mod widget;
319

0 commit comments

Comments
 (0)