Enable feature flags in docs.rs
This commit is contained in:
parent
7479ba137f
commit
335ad1dd1d
@ -65,3 +65,7 @@ iced_wgpu = { version = "0.2", path = "wgpu" }
|
|||||||
|
|
||||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||||
iced_web = { version = "0.2", path = "web" }
|
iced_web = { version = "0.2", path = "web" }
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
rustdoc-args = ["--cfg", "docsrs"]
|
||||||
|
features = ["image", "svg", "canvas"]
|
||||||
|
@ -30,3 +30,7 @@ optional = true
|
|||||||
|
|
||||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||||
wasm-bindgen-futures = "0.4"
|
wasm-bindgen-futures = "0.4"
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
rustdoc-args = ["--cfg", "docsrs"]
|
||||||
|
all-features = true
|
||||||
|
@ -41,3 +41,7 @@ optional = true
|
|||||||
[dependencies.lyon]
|
[dependencies.lyon]
|
||||||
version = "0.15"
|
version = "0.15"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
rustdoc-args = ["--cfg", "docsrs"]
|
||||||
|
all-features = true
|
||||||
|
Loading…
Reference in New Issue
Block a user