# 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-sdk"
version = "0.1.41"
authors = ["Dominik Clemente - dcbuilder.eth <dc@world.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for mobile benchmarking with timing harness and Android/iOS builders"
documentation = "https://docs.rs/mobench-sdk"
readme = "README.md"
keywords = [
    "benchmark",
    "mobile",
    "android",
    "ios",
    "performance",
]
categories = [
    "development-tools::profiling",
    "development-tools::testing",
]
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"]

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

[features]
builders = [
    "codegen",
    "dep:toml",
]
codegen = [
    "dep:include_dir",
    "dep:toml",
]
default = ["full"]
full = [
    "registry",
    "builders",
    "codegen",
]
registry = [
    "dep:mobench-macros",
    "dep:inventory",
]
runner-only = []

[lib]
name = "mobench_sdk"
crate-type = ["lib"]
path = "src/lib.rs"

[dependencies.include_dir]
version = "0.7"
optional = true

[dependencies.inventory]
version = "0.3"
optional = true

[dependencies.libc]
version = "0.2"

[dependencies.mobench-macros]
version = "0.1.41"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.toml]
version = "0.8"
optional = true

[dev-dependencies]
