From 335ad1dd1d5bfa65e9a3174fcecd9e1fe871646d Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez <hector0193@gmail.com> Date: Sun, 5 Apr 2020 04:52:03 +0200 Subject: Enable feature flags in `docs.rs` --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 286d49b5..c9e19653 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -65,3 +65,7 @@ iced_wgpu = { version = "0.2", path = "wgpu" } [target.'cfg(target_arch = "wasm32")'.dependencies] iced_web = { version = "0.2", path = "web" } + +[package.metadata.docs.rs] +rustdoc-args = ["--cfg", "docsrs"] +features = ["image", "svg", "canvas"] -- cgit