You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but wasm-packis unable to parse my cargo.toml and panics with the error message Caused by: invalid type: map, expected a string for key 'package.license'.
wasm-pack should be able to parse my Cargo.toml like cargo.
👟 Steps to reproduce
Create a new workspace project and add package table informations into the root Cargo.toml, then reference from a workspace member to the package table and the last step is to build the workspace member with wasm-pack.
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.10.3
rustc version: rustc 1.69.0-nightly (f3126500f 2023-02-02)
cargo version: cargo 1.69.0-nightly (e84a7928d 2023-01-31)
The text was updated successfully, but these errors were encountered:
🐛 Bug description
I'm using cargo workspaces and I have one seperate member for my wasm build.
The workspace-root-member
cargo.toml
:The wasm-member
cargo.toml
:but
wasm-pack
is unable to parse mycargo.toml
and panics with the error messageCaused by: invalid type: map, expected a string for key 'package.license'
.Cargo doc for package table: link
🤔 Expected Behavior
wasm-pack
should be able to parse myCargo.toml
likecargo
.👟 Steps to reproduce
Create a new workspace project and add package table informations into the root
Cargo.toml
, then reference from a workspace member to the package table and the last step is to build the workspace member withwasm-pack
.🌍 Your environment
Include the relevant details of your environment.
wasm-pack version:
0.10.3
rustc version:
rustc 1.69.0-nightly (f3126500f 2023-02-02)
cargo version:
cargo 1.69.0-nightly (e84a7928d 2023-01-31)
The text was updated successfully, but these errors were encountered: