diff options
| -rw-r--r-- | glow/Cargo.toml | 4 | ||||
| -rw-r--r-- | glow/src/lib.rs | 1 | 
2 files changed, 5 insertions, 0 deletions
| diff --git a/glow/Cargo.toml b/glow/Cargo.toml index a18fffe1..262f0264 100644 --- a/glow/Cargo.toml +++ b/glow/Cargo.toml @@ -30,3 +30,7 @@ path = "../native"  version = "0.1"  path = "../graphics"  features = ["font-source", "font-fallback", "font-icons", "opengl"] + +[package.metadata.docs.rs] +rustdoc-args = ["--cfg", "docsrs"] +all-features = true diff --git a/glow/src/lib.rs b/glow/src/lib.rs index 9e9564ca..c427d13a 100644 --- a/glow/src/lib.rs +++ b/glow/src/lib.rs @@ -6,6 +6,7 @@  #![deny(missing_debug_implementations)]  #![deny(unused_results)]  #![forbid(rust_2018_idioms)] +#![cfg_attr(docsrs, feature(doc_cfg))]  mod backend;  mod program; | 
