# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.81" name = "wasmer-c-api" version = "5.0.1" authors = ["Wasmer Engineering Team "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Wasmer C API library" homepage = "https://wasmer.io/" documentation = "https://wasmerio.github.io/wasmer/c-api/" readme = "README.md" keywords = [ "wasm", "webassembly", "runtime", ] categories = [ "wasm", "api-bindings", ] license = "MIT" repository = "https://github.com/wasmerio/wasmer" [lib] name = "wasmer" crate-type = [ "staticlib", "cdylib", ] path = "src/lib.rs" [dependencies.cfg-if] version = "1.0" [dependencies.enumset] version = "1.1.0" [dependencies.lazy_static] version = "1.4" [dependencies.libc] version = "^0.2" default-features = false [dependencies.paste] version = "1.0" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.39.0" features = [ "rt", "rt-multi-thread", "io-util", "sync", "macros", ] default-features = false [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "fmt", ] [dependencies.typetag] version = "0.1" optional = true [dependencies.virtual-fs] version = "0.19.0" features = ["static-fs"] optional = true default-features = false [dependencies.wasmer-api] version = "=5.0.1" default-features = false package = "wasmer" [dependencies.wasmer-compiler] version = "=5.0.1" optional = true [dependencies.wasmer-compiler-cranelift] version = "=5.0.1" optional = true [dependencies.wasmer-compiler-llvm] version = "=5.0.1" optional = true [dependencies.wasmer-compiler-singlepass] version = "=5.0.1" optional = true [dependencies.wasmer-middlewares] version = "=5.0.1" optional = true [dependencies.wasmer-types] version = "=5.0.1" [dependencies.wasmer-wasix] version = "=0.31.0" features = [ "host-fs", "host-vnet", ] optional = true [dependencies.webc] version = "7.0.0-rc.2" optional = true [dev-dependencies.field-offset] version = "0.3.3" [build-dependencies.cbindgen] version = "0.27" default-features = false [features] compiler = [ "wasmer-compiler", "wasmer-api/compiler", "wasmer-compiler/translator", "wasmer-compiler/compiler", ] compiler-headless = [ "wasmer-artifact-load", "static-artifact-load", "wasmer-api/compiler", "wasmer-compiler/translator", "wasmer-compiler/compiler", ] cranelift = [ "wasmer-compiler-cranelift", "compiler", ] default = [ "wat", "cranelift", "compiler", "wasi", "middlewares", ] jit = ["compiler"] jsc = [ "wasmer-api/jsc", "wasmer-api/std", ] llvm = [ "wasmer-compiler-llvm", "compiler", ] middlewares = [ "compiler", "wasmer-middlewares", ] singlepass = [ "wasmer-compiler-singlepass", "compiler", ] static-artifact-create = ["wasmer-compiler/static-artifact-create"] static-artifact-load = ["wasmer-compiler/static-artifact-load"] sys = [] wasi = ["wasmer-wasix"] wasmer-artifact-create = ["wasmer-compiler/wasmer-artifact-create"] wasmer-artifact-load = ["wasmer-compiler/wasmer-artifact-load"] wat = ["wasmer-api/wat"] webc_runner = [ "virtual-fs", "webc", ] [target.'cfg(not(target_os = "windows"))'.dev-dependencies.inline-c] version = "0.1.7" [target.'cfg(target_os = "windows")'.dev-dependencies.wasmer-inline-c] version = "0.1.1"