# 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.88"
name = "meathook-rs"
version = "0.1.2"
build = false
exclude = [
    "website/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A polling runtime with composable, durable sinks"
homepage = "https://github.com/InfiniteUnion/meathook-rs"
documentation = "https://docs.rs/meathook-rs"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/InfiniteUnion/meathook-rs"

[features]
default = [
    "parquet",
    "huggingface",
]
huggingface = [
    "parquet",
    "satay",
    "dep:base64",
]
parquet = [
    "dep:arrow",
    "dep:parquet",
    "dep:serde_arrow",
]
satay = [
    "dep:satay-runtime",
    "dep:satay-reqwest",
]

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

[[example]]
name = "nea_weather"
path = "examples/nea_weather.rs"
required-features = ["huggingface"]

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

[dependencies.arrow]
version = "58"
optional = true

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.http]
version = "1"

[dependencies.parquet]
version = "58"
optional = true

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "http2",
]
default-features = false

[dependencies.satay-reqwest]
version = "0.4.0"
optional = true

[dependencies.satay-runtime]
version = "0.4.0"
features = ["json"]
optional = true

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

[dependencies.serde_arrow]
version = "0.14.1"
features = ["arrow-58"]
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "serde",
    "formatting",
    "macros",
]

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

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.humantime-serde]
version = "1"

[dev-dependencies.nea-rs]
version = "0.2.0"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[dev-dependencies.toml]
version = "0.9"

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