# 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.90.0"
name = "eryx-precompile"
version = "0.4.3"
authors = ["Ben Sully <ben.sully88@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI tool for pre-compiling eryx WASM runtimes"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/sd2k/eryx"
resolver = "2"

[package.metadata.dist]
dist = true

[[bin]]
name = "eryx-precompile"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.eryx]
version = "^0.4.3"
features = ["preinit"]

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls-webpki-roots-no-provider"]
default-features = false

[dependencies.tempfile]
version = "3.20"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "rt-multi-thread",
    "macros",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.walkdir]
version = "2.5"

[lints.clippy]
all = "warn"
expect_used = "warn"
unwrap_used = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
