Enable doc_cfg
for docs.rs
in iced_glow
This commit is contained in:
parent
4aa0d7a13a
commit
16c1261d82
@ -30,3 +30,7 @@ path = "../native"
|
|||||||
version = "0.1"
|
version = "0.1"
|
||||||
path = "../graphics"
|
path = "../graphics"
|
||||||
features = ["font-source", "font-fallback", "font-icons", "opengl"]
|
features = ["font-source", "font-fallback", "font-icons", "opengl"]
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
rustdoc-args = ["--cfg", "docsrs"]
|
||||||
|
all-features = true
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
#![deny(missing_debug_implementations)]
|
#![deny(missing_debug_implementations)]
|
||||||
#![deny(unused_results)]
|
#![deny(unused_results)]
|
||||||
#![forbid(rust_2018_idioms)]
|
#![forbid(rust_2018_idioms)]
|
||||||
|
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||||
|
|
||||||
mod backend;
|
mod backend;
|
||||||
mod program;
|
mod program;
|
||||||
|
Loading…
Reference in New Issue
Block a user