ic-wasm 0.11.0

A library for performing Wasm transformations specific to canisters running on the Internet Computer
Documentation
# 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.11.0"
authors = ["DFINITY Stiftung"]
build = false
include = [
    "Cargo.toml",
    "LICENSE",
    "README.md",
    "src",
]
autolib = false
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 = [
    "canister",
    "dfinity",
    "internet-computer",
]
categories = ["wasm"]
license = "Apache-2.0"
repository = "https://github.com/dfinity/ic-wasm"

[features]
check-endpoints = [
    "dep:anyhow",
    "dep:candid_parser",
    "dep:parse-display",
    "dep:serde_json",
]
default = [
    "check-endpoints",
    "exe",
]
exe = [
    "dep:anyhow",
    "dep:clap",
    "dep:serde",
]
serde = [
    "dep:serde",
    "dep:serde_json",
]

[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.104"
optional = true

[dependencies.candid]
version = "0.10.32"

[dependencies.candid_parser]
version = "0.4.0"
optional = true

[dependencies.clap]
version = "4.1"
features = [
    "cargo",
    "derive",
]
optional = true

[dependencies.libflate]
version = "2.0"

[dependencies.parse-display]
version = "0.11.0"
optional = true

[dependencies.rustc-demangle]
version = "0.1"

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.thiserror]
version = "2.0.19"

[dependencies.walrus]
version = "0.26.4"

[dependencies.wasmparser]
version = "0.253.0"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.tempfile]
version = "3.5.0"

[profile.dist]
lto = "thin"
inherits = "release"