wasmer/lib/api/Cargo.toml

50 lines
1.5 KiB
TOML
Raw Normal View History

2020-03-24 18:59:09 -07:00
[package]
name = "wasmer"
2020-05-11 13:48:41 -07:00
version = "0.17.0"
2020-03-24 18:59:09 -07:00
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
edition = "2018"
publish = true
description = "The high-level public API of the Wasmer WebAssembly runtime"
readme = "README.md"
2020-03-24 18:59:09 -07:00
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = { version = "1", features = ["derive"] }
2021-08-05 20:29:12 +03:00
wasmer-runtime-core = { version = "=0.17.1", path = "../runtime-core", package = "wasmer-runtime-core-fl" }
2020-03-24 18:59:09 -07:00
[dependencies.wasmer-singlepass-backend]
path = "../singlepass-backend"
2020-05-11 13:48:41 -07:00
version = "0.17.0"
2020-03-24 18:59:09 -07:00
optional = true
2020-07-28 22:43:04 +03:00
package = "wasmer-singlepass-backend-fl"
2020-03-24 18:59:09 -07:00
[dependencies.wasmer-llvm-backend]
path = "../llvm-backend"
version = "0.17.0"
2020-03-24 18:59:09 -07:00
optional = true
2020-07-28 22:43:04 +03:00
package = "wasmer-llvm-backend-fl"
2020-03-24 18:59:09 -07:00
[dependencies.wasmer-clif-backend]
path = "../clif-backend"
2020-05-11 13:48:41 -07:00
version = "0.17.0"
2020-03-24 18:59:09 -07:00
optional = true
2020-07-28 22:43:04 +03:00
package = "wasmer-clif-backend-fl"
2020-03-24 18:59:09 -07:00
[features]
2020-04-16 12:45:34 -07:00
# Note: we should have default backends depending on the architecture
# This target-directed-features is available in nightly
# https://github.com/rust-lang/cargo/issues/7914
2020-03-24 18:59:09 -07:00
default = ["cranelift", "default-backend-cranelift"]
singlepass = ["wasmer-singlepass-backend"]
llvm = ["wasmer-llvm-backend"]
cranelift = ["wasmer-clif-backend"]
default-backend-singlepass = ["singlepass"]
default-backend-llvm = ["llvm"]
default-backend-cranelift = ["cranelift"]
2020-05-11 13:48:41 -07:00
deterministic-execution = ["wasmer-singlepass-backend/deterministic-execution", "wasmer-runtime-core/deterministic-execution"]