Use built-in [lints] table in Cargo.toml
This commit is contained in:
parent
a865b38002
commit
5cd98f069d
32 changed files with 274 additions and 244 deletions
|
|
@ -10,6 +10,9 @@ homepage.workspace = true
|
|||
categories.workspace = true
|
||||
keywords.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
default = ["x11", "wayland", "wayland-dlopen", "wayland-csd-adwaita"]
|
||||
debug = ["iced_runtime/debug"]
|
||||
|
|
@ -41,3 +44,4 @@ winapi.workspace = true
|
|||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
web-sys.workspace = true
|
||||
web-sys.features = ["Document", "Window"]
|
||||
|
||||
|
|
|
|||
|
|
@ -17,14 +17,6 @@
|
|||
#![doc(
|
||||
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
|
||||
)]
|
||||
#![forbid(rust_2018_idioms)]
|
||||
#![deny(
|
||||
missing_debug_implementations,
|
||||
missing_docs,
|
||||
unused_results,
|
||||
unsafe_code,
|
||||
rustdoc::broken_intra_doc_links
|
||||
)]
|
||||
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
||||
pub use iced_graphics as graphics;
|
||||
pub use iced_runtime as runtime;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue