mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-27 21:11:04 +00:00
When requiring `wasmer-runtime-c-api`, I get the following conflicts: ``` error: failed to select a version for `serde_derive`. ... required by package `cbindgen v0.7.1` ... which is depended on by `wasmer-runtime-c-api v0.2.1` ... which is depended on by `foo v0.1.0 (/private/tmp/foo)` versions that meet the requirements `= 1.0.58` are: 1.0.58 all possible versions conflict with previously selected packages. previously selected package `serde_derive v1.0.89` ... which is depended on by `wasmer-runtime-core v0.2.1` ... which is depended on by `wasmer-runtime-c-api v0.2.1` ... which is depended on by `foo v0.1.0 (/private/tmp/foo)` failed to select a version for `serde_derive` which could resolve this conflict ``` This issue resolves by updating `cbindgen` to 0.8.
26 lines
577 B
TOML
26 lines
577 B
TOML
[package]
|
|
name = "wasmer-runtime-c-api"
|
|
version = "0.2.1"
|
|
description = "Wasmer c-api library"
|
|
license = "MIT"
|
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
|
repository = "https://github.com/wasmerio/wasmer"
|
|
edition = "2018"
|
|
readme = "README.md"
|
|
|
|
[dependencies]
|
|
wasmer-runtime = { path = "../runtime", version = "0.2.1" }
|
|
wasmer-runtime-core = { path = "../runtime-core", version = "0.2.1" }
|
|
libc = "0.2"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[build-dependencies]
|
|
cbindgen = { version = "0.8", optional = true }
|
|
|
|
[features]
|
|
generate-c-api-headers = ["cbindgen"]
|
|
|
|
|