# 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" name = "linera-witty" version = "0.13.1" authors = ["Linera "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Generation of WIT compatible host code from Rust code" homepage = "https://linera.dev" documentation = "https://docs.rs/linera-witty/latest/linera_witty/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/linera-io/linera-protocol" [lib] name = "linera_witty" path = "src/lib.rs" [[test]] name = "reentrancy" path = "tests/reentrancy.rs" [[test]] name = "wit_export" path = "tests/wit_export.rs" [[test]] name = "wit_import" path = "tests/wit_import.rs" [[test]] name = "wit_load" path = "tests/wit_load.rs" [[test]] name = "wit_store" path = "tests/wit_store.rs" [[test]] name = "wit_type" path = "tests/wit_type.rs" [dependencies.anyhow] version = "1.0.80" [dependencies.either] version = "1.10.0" [dependencies.frunk] version = "0.4.2" [dependencies.genawaiter] version = "0.99.1" [dependencies.linera-witty-macros] version = "0.13.1" optional = true [dependencies.log] version = "0.4.21" optional = true [dependencies.thiserror] version = "1.0.65" [dependencies.wasmer] version = "4.4.0-linera.5" optional = true default-features = false package = "linera-wasmer" [dependencies.wasmtime] version = "25.0.0" features = [ "cranelift", "runtime", "std", ] optional = true default-features = false [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.insta] version = "1.36.1" [dev-dependencies.test-case] version = "3.3.1" [dev-dependencies.tracing] version = "0.1.40" features = ["release_max_level_debug"] [build-dependencies.cfg_aliases] version = "0.2.1" [features] default = ["macros"] log = ["dep:log"] macros = ["linera-witty-macros"] test = ["linera-witty-macros?/test"] wasmer = [ "dep:wasmer", "linera-witty-macros?/wasmer", ] wasmtime = [ "dep:wasmtime", "linera-witty-macros?/wasmtime", ] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer] version = "4.4.0-linera.5" features = ["singlepass"] optional = true default-features = false package = "linera-wasmer" [target.wasm32-unknown-unknown.dependencies.wasmer] version = "4.4.0-linera.5" features = ["js-default"] optional = true default-features = false package = "linera-wasmer"