ic-build 0.63.0

Cargo and Wasm builds, exact inputs and retained artifact caches
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-build"
version = "0.63.0"
build = false
exclude = ["target/"]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cargo and Wasm builds, exact inputs and retained artifact caches"
readme = "README.md"
license = "MIT"
repository = "https://github.com/dragginzgame/ic-tooling"

[features]
cli = ["dep:clap"]
default = []

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

[[bin]]
name = "ic-build-release-metadata"
path = "src/bin/ic-build-release-metadata.rs"
required-features = ["cli"]

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

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

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

[[test]]
name = "artifact_cache_process"
path = "tests/artifact_cache_process.rs"

[[test]]
name = "artifact_handoff"
path = "tests/artifact_handoff.rs"

[[test]]
name = "artifact_helpers"
path = "tests/artifact_helpers.rs"

[[test]]
name = "cargo_examples"
path = "tests/cargo_examples.rs"

[[test]]
name = "cargo_execution"
path = "tests/cargo_execution.rs"

[[test]]
name = "input_evidence"
path = "tests/input_evidence.rs"

[[test]]
name = "native_executable"
path = "tests/native_executable.rs"

[[test]]
name = "package_qualification"
path = "tests/package_qualification.rs"

[[test]]
name = "release_metadata_cli"
path = "tests/release_metadata_cli.rs"
required-features = ["cli"]

[[test]]
name = "wasm_build"
path = "tests/wasm_build.rs"

[[test]]
name = "wasm_cache_process"
path = "tests/wasm_cache_process.rs"

[[test]]
name = "wasm_optimizer"
path = "tests/wasm_optimizer.rs"

[dependencies.cargo_metadata]
version = "0.23.1"

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

[dependencies.ic-host-artifacts]
version = "0.63"
default-features = false

[dependencies.ic-host-fs]
version = "0.63"
default-features = false

[dependencies.ic-host-process]
version = "0.63"
default-features = false

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.sha2]
version = "0.10.9"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.toml]
version = "1"

[dependencies.toml_edit]
version = "0.25.17"

[dev-dependencies.ic-host-fs]
version = "0.63"
features = ["test-support"]
default-features = false

[target."cfg(unix)".dependencies.rustix]
version = "1.1.4"
features = [
    "std",
    "fs",
    "process",
]
default-features = false

[target."cfg(unix)".dev-dependencies.ic-host-process]
version = "0.63"
features = ["test-support"]
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"