rust-webpack-template
rust-webpack-template copied to clipboard
Cargo complains about debug_assertions optional dependencies won't work
Describe the Bug
See the descriptive Cargo warning message:
warning: Found
debug_assertionsintarget.'cfg(...)'.dependencies. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies
Steps to Reproduce
wasm-pack build
I created PR( #168 ) to solve this issue. Please review to merge.