Skip to content

Install from git? #2451

Closed
Closed
@domoritz

Description

@domoritz

Summary

I don't want to ask for another release so I thought I could just refer to the crate on github.

[dependencies]
wasm-bindgen = { git = "https://github.com/rustwasm/wasm-bindgen", features = ["serde-serialize"] }

Unfortunately, that leads to

$ cargo build --release --target wasm32-unknown-unknown
    Updating git repository `https://github.com/apache/arrow`
    Updating git submodule `https://github.com/apache/parquet-testing.git`
    Updating git submodule `https://github.com/apache/arrow-testing`
    Updating crates.io index
    Updating git repository `https://github.com/rustwasm/wasm-bindgen`
error: failed to select a version for `wasm-bindgen-shared`.
    ... required by package `wasm-bindgen-macro-support v0.2.63`
    ... which is depended on by `wasm-bindgen-macro v0.2.63`
    ... which is depended on by `wasm-bindgen v0.2.63`
    ... which is depended on by `wasm-bindgen-test v0.3.13`
    ... which is depended on by `arrow-wasm v0.0.13 (/Users/dominik/Code/arrow-wasm)`
versions that meet the requirements `=0.2.63` are: 0.2.63

the package `wasm-bindgen-shared` links to the native library `wasm_bindgen`, but it conflicts with a previous package which links to `wasm_bindgen` as well:
package `wasm-bindgen-shared v0.2.70 (https://github.com/rustwasm/wasm-bindgen#e987f943)`
    ... which is depended on by `wasm-bindgen-backend v0.2.70 (https://github.com/rustwasm/wasm-bindgen#e987f943)`
    ... which is depended on by `wasm-bindgen-macro-support v0.2.70 (https://github.com/rustwasm/wasm-bindgen#e987f943)`
    ... which is depended on by `wasm-bindgen-macro v0.2.70 (https://github.com/rustwasm/wasm-bindgen#e987f943)`
    ... which is depended on by `wasm-bindgen v0.2.70 (https://github.com/rustwasm/wasm-bindgen#e987f943)`
    ... which is depended on by `arrow-wasm v0.0.13 (/Users/dominik/Code/arrow-wasm)`

failed to select a version for `wasm-bindgen-shared` which could resolve this conflict

Which I don't know how to resolve.

Additional Details

Feel free to close this issue as a wontfix but if there is an easy solution, I would love your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions