summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml4
-rw-r--r--futures/Cargo.toml4
-rw-r--r--wgpu/Cargo.toml4
3 files changed, 12 insertions, 0 deletions
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"]
diff --git a/futures/Cargo.toml b/futures/Cargo.toml
index 869a30ba..3fe8719b 100644
--- a/futures/Cargo.toml
+++ b/futures/Cargo.toml
@@ -30,3 +30,7 @@ optional = true
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
+
+[package.metadata.docs.rs]
+rustdoc-args = ["--cfg", "docsrs"]
+all-features = true
diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml
index ca906894..d6659dd3 100644
--- a/wgpu/Cargo.toml
+++ b/wgpu/Cargo.toml
@@ -41,3 +41,7 @@ optional = true
[dependencies.lyon]
version = "0.15"
optional = true
+
+[package.metadata.docs.rs]
+rustdoc-args = ["--cfg", "docsrs"]
+all-features = true