ic-host-artifacts 0.63.2

Bounded host artifact streams, identities, gzip and Wasm tooling
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 = "2024"
rust-version = "1.91.0"
name = "ic-host-artifacts"
version = "0.63.2"
authors = ["borovan <84897664+borovan@users.noreply.github.com>"]
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bounded host artifact streams, identities, gzip and Wasm tooling"
readme = "README.md"
license = "MIT"
repository = "https://github.com/dragginzgame/ic-tooling"

[features]
default = []
gzip = ["dep:flate2"]
wasm = [
    "dep:leb128",
    "dep:wasmparser",
]
wasm-encoding = ["dep:wasm-encoder"]
wasm-text = ["dep:wat"]
wasm-validation = [
    "wasm",
    "wasmparser/validate",
]

[lib]
name = "ic_host_artifacts"
path = "src/lib.rs"

[[example]]
name = "hash_serialized_json"
path = "examples/hash_serialized_json.rs"

[[test]]
name = "consumer_contracts"
path = "tests/consumer_contracts.rs"
required-features = ["wasm"]

[[test]]
name = "wasm_encoding"
path = "tests/wasm_encoding.rs"
required-features = ["wasm-encoding"]

[dependencies.flate2]
version = "1.1.10"
features = ["rust_backend"]
optional = true
default-features = false

[dependencies.leb128]
version = "0.2.5"
optional = true

[dependencies.sha2]
version = "0.10.9"

[dependencies.wasm-encoder]
version = "0.262"
optional = true
default-features = false

[dependencies.wasmparser]
version = "0.262"
features = [
    "std",
    "features",
]
optional = true
default-features = false

[dependencies.wat]
version = "1.262.0"
optional = true
default-features = false

[dev-dependencies.clap]
version = "4.6.7"
features = [
    "std",
    "help",
    "usage",
    "error-context",
    "derive",
]
default-features = false

[dev-dependencies.serde]
version = "1.0.228"
features = ["std"]
default-features = false

[dev-dependencies.serde_json]
version = "1.0.150"

[dev-dependencies.wasmparser]
version = "0.262"
features = [
    "std",
    "features",
]
default-features = false

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"