# 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 = "golem-wasm-ast" version = "1.0.1" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "WASM AST" homepage = "https://golem.cloud" readme = "README.md" license = "Apache-2.0" [lib] name = "golem_wasm_ast" path = "src/lib.rs" harness = false [[test]] name = "exports" path = "tests/exports.rs" harness = false [[test]] name = "mems" path = "tests/mems.rs" harness = false [[test]] name = "metadata" path = "tests/metadata.rs" harness = false [[test]] name = "roundtrip" path = "tests/roundtrip.rs" harness = false [dependencies.bincode] version = "2.0.0-rc.3" optional = true [dependencies.leb128] version = "0.2.5" optional = true [dependencies.mappable-rc] version = "0.1.1" [dependencies.poem-openapi] version = "5.0" optional = true [dependencies.prost] version = "0.12" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.wasm-encoder] version = "0.207.0" optional = true [dependencies.wasm-metadata] version = "0.207.0" optional = true [dependencies.wasm-wave] version = "=0.6.0" optional = true [dependencies.wasmparser] version = "0.207.0" optional = true [dev-dependencies.colored-diff] version = "0.2.3" [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.test-r] version = "0.0.3" default-features = false [dev-dependencies.wasmprinter] version = "0.207.0" [build-dependencies.prost-build] version = "0.12.6" [features] analysis = ["component"] bincode = ["dep:bincode"] component = [] default = [ "parser", "writer", "component", "metadata", "analysis", "wave", "json", "bincode", "poem_openapi", "protobuf", ] json = [ "dep:serde", "dep:serde_json", ] metadata = ["dep:wasm-metadata"] parser = [ "dep:wasmparser", "dep:leb128", ] poem_openapi = [ "json", "dep:poem-openapi", ] protobuf = ["dep:prost"] wave = ["dep:wasm-wave"] writer = ["dep:wasm-encoder"]