# 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"
name = "dsq-io-huggingface"
version = "0.2.0"
authors = ["Durable Programming LLC"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HuggingFace Hub I/O plugin for dsq"
readme = "README.md"
keywords = [
    "io",
    "huggingface",
    "hub",
]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/durableprogramming/dsq"

[features]
default = []

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

[dependencies.anyhow]
version = "1.0"

[dependencies.dirs]
version = "6.0"

[dependencies.hf-hub]
version = "0.4"
features = ["tokio"]
default-features = false

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.35"
features = [
    "fs",
    "rt",
]
default-features = false

[lints.clippy]
nursery = "allow"
pedantic = "allow"

[lints.clippy.approx_constant]
level = "allow"
priority = 2

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 2
