# 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 = "ic-wasm" version = "0.9.1" authors = ["DFINITY Stiftung"] build = false include = [ "src", "Cargo.toml", "LICENSE", "README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A library for performing Wasm transformations specific to canisters running on the Internet Computer" documentation = "https://docs.rs/ic-wasm" readme = "README.md" keywords = [ "internet-computer", "canister", "dfinity", ] categories = ["wasm"] license = "Apache-2.0" repository = "https://github.com/dfinity/ic-wasm" [package.metadata.binstall] pkg-fmt = "tgz" pkg-url = "{ repo }/releases/download/{ version }/{ name }-{ target }{ archive-suffix }" [lib] name = "ic_wasm" path = "src/lib.rs" [[bin]] name = "ic-wasm" path = "src/bin/main.rs" required-features = ["exe"] [dependencies.anyhow] version = "1.0.34" optional = true [dependencies.candid] version = "0.10" [dependencies.clap] version = "4.1" features = [ "derive", "cargo", ] optional = true [dependencies.libflate] version = "2.0" [dependencies.rustc-demangle] version = "0.1" [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.tempfile] version = "3.5.0" optional = true [dependencies.thiserror] version = "1.0.35" [dependencies.walrus] version = "0.22.0" [dependencies.wasm-opt] version = "0.116.0" optional = true [dev-dependencies.assert_cmd] version = "2" [features] default = [ "exe", "wasm-opt", ] exe = [ "anyhow", "clap", "serde", ] serde = [ "dep:serde", "dep:serde_json", ] wasm-opt = [ "dep:wasm-opt", "tempfile", ]