# 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"
name = "camel-component-file"
version = "0.21.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "File component for rust-camel"
homepage = "https://github.com/kennycallado/rust-camel"
documentation = "https://docs.rs/camel-component-file"
readme = "README.md"
keywords = [
    "camel",
    "integration",
    "messaging",
    "routing",
    "enterprise",
]
categories = [
    "network-programming",
    "asynchronous",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/kennycallado/rust-camel"
resolver = "2"

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

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

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

[dependencies.bytes]
version = "1"

[dependencies.camel-component-api]
version = "=0.21.0"

[dependencies.camel-endpoint]
version = "=0.21.0"

[dependencies.camel-language-api]
version = "=0.21.0"

[dependencies.camel-language-simple]
version = "=0.21.0"

[dependencies.dashmap]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.glob]
version = "0.3"

[dependencies.rand]
version = "0.10"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = [
    "rt",
    "io",
    "io",
]

[dependencies.toml]
version = "1"

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.camel-component-api]
version = "=0.21.0"
features = ["test-support"]

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

[lints.clippy]
all = "warn"

[lints.rust]
dead_code = "warn"
unused_imports = "warn"
unused_must_use = "warn"
