# 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.85"
name = "mobench"
version = "0.1.37"
authors = ["Dominik Clemente - dcbuilder.eth <dc@world.org>"]
build = false
exclude = ["artifacts/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust mobile benchmark CLI with CI contract outputs and BrowserStack automation"
documentation = "https://docs.rs/mobench"
readme = "README.md"
keywords = [
    "benchmark",
    "mobile",
    "android",
    "ios",
    "performance",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/worldcoin/mobile-bench-rs"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = ["x86_64-unknown-linux-gnu"]
default-run = "mobench"

[badges.maintenance]
status = "actively-developed"

[features]
bench-support = []

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

[[bin]]
name = "cargo-mobench"
path = "src/bin/cargo-mobench.rs"

[[bin]]
name = "mobench"
path = "src/main.rs"

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

[[bench]]
name = "host_contracts"
path = "benches/host_contracts.rs"
harness = false
required-features = ["bench-support"]

[dependencies.anyhow]
version = "1"

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

[dependencies.comfy-table]
version = "7"

[dependencies.dotenvy]
version = "0.15"

[dependencies.inferno]
version = "0.12"
default-features = false

[dependencies.mobench-sdk]
version = "0.1.37"
features = ["full"]
default-features = false

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "blocking",
    "json",
    "multipart",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.tempfile]
version = "3"

[dependencies.time]
version = "0.3"
features = ["formatting"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.inventory]
version = "0.3"

[dev-dependencies.jsonschema]
version = "0.18"

[dev-dependencies.proptest]
version = "1"
