# 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.94"
name = "chromaframe-sdk"
version = "0.1.0"
build = false
include = [
    "Cargo.toml",
    "README.md",
    "src/**",
    "vision-helper/README.md",
    "vision-helper/requirements.txt",
    "vision-helper/chromaframe_vision_helper/*.py",
    "vision-helper/scripts/*.py",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic, privacy-preserving color measurement and ranking SDK"
homepage = "https://github.com/kdcokenny/ChromaFrame"
documentation = "https://docs.rs/chromaframe-sdk"
readme = "README.md"
keywords = [
    "color",
    "measurement",
    "privacy",
    "image",
]
categories = [
    "computer-vision",
    "science",
]
license = "MIT"
repository = "https://github.com/kdcokenny/ChromaFrame"

[features]
default = []
icc-lcms2 = []
live-gemini = []
vision = []
vision-helper = ["vision"]

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

[dependencies.async-trait]
version = "0.1"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
]
default-features = false

[dependencies.jsonschema]
version = "0.46"
default-features = false

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls-no-provider",
]
default-features = false

[dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

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

[dependencies.webpki-root-certs]
version = "1"

[dev-dependencies.insta]
version = "1"
features = ["json"]

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

[dev-dependencies.rstest]
version = "0.26"

[dev-dependencies.wiremock]
version = "0.6"

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