Add docs of cfg_if

pull/339/head
tata 2 years ago
parent f942f350c9
commit 54520d929f

@ -218,6 +218,13 @@ web-sys = { version = "0.3", features = [
]}
```
And then add `cfg_if` crate since we will be using `cfg_if` macro.
```toml
[dependencies]
# ...
cfg-if = "1.0"
```
Make sure to add `resources` as a module in `lib.rs`:
```rust

Loading…
Cancel
Save