Hello,
Im trying to build a javascript package by following this example:
This is example how to call solver methods from javascript in browser. You need to build vrp-cli library for WebAssembly target. To do this, you can use wasm-pack:
cd vrp-cli
wasm-pack build --target web
But I am getting an error:
Error: failed to parse manifest: C:\Users\Vadim Korolov\Desktop\work\@avrora\ui\lib\examples\routing\bin\vrp\Cargo.toml
Caused by: missing field `package`
I am not an expert on rust and cant figure out how to fix it, I tried to google it but no results there...
Thank you
rustc --version = 1.58.1 (db9d1b20b 2022-01-20)
cargo --version = 1.58.0 (f01b232bc 2022-01-19)
Microsoft Windows 10 Enterprise 10.0.18363
Hello, Im trying to build a javascript package by following this example:
This is example how to call solver methods from javascript in browser. You need to build vrp-cli library for WebAssembly target. To do this, you can use wasm-pack:
But I am getting an error:
I am not an expert on rust and cant figure out how to fix it, I tried to google it but no results there...
Thank you
rustc --version = 1.58.1 (db9d1b20b 2022-01-20) cargo --version = 1.58.0 (f01b232bc 2022-01-19) Microsoft Windows 10 Enterprise 10.0.18363