Enable doc_cfg for docs.rs in iced_glow

This commit is contained in:
Héctor Ramón Jiménez 2020-05-28 04:03:51 +02:00
parent 4aa0d7a13a
commit 16c1261d82
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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;