# 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 = "2021"
rust-version = "1.75"
name = "retab"
version = "0.0.15"
authors = ["Retab <contact@retab.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Retab official Rust library"
homepage = "https://retab.com"
documentation = "https://docs.rs/retab"
readme = "README.md"
keywords = [
    "retab",
    "sdk",
    "api",
    "ocr",
    "extraction",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/retab-dev/retab"

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

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.futures-util]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.infer]
version = "0.16"

[dependencies.mime_guess]
version = "2"

[dependencies.percent-encoding]
version = "2"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.thiserror]
version = "2"

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

[dependencies.url]
version = "2"

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