# 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 = "clockwords"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Find and resolve natural-language time expressions across multiple languages"
readme = "README.md"
keywords = [
    "time",
    "nlp",
    "parser",
    "chrono",
    "multilingual",
]
categories = [
    "text-processing",
    "date-and-time",
    "internationalization",
]
license = "Apache-2.0"
repository = "https://github.com/hg8496/clockwords"

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

[[example]]
name = "benchmark"
path = "examples/benchmark.rs"

[[example]]
name = "tui_demo"
path = "examples/tui_demo.rs"

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

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

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

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

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

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

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

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

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

[dependencies.aho-corasick]
version = "1"

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "clock",
]
default-features = false

[dependencies.chrono-tz]
version = "0.10"

[dependencies.regex]
version = "1"

[dev-dependencies.chrono-tz]
version = "0.10"

[dev-dependencies.crossterm]
version = "0.29.0"

[dev-dependencies.iana-time-zone]
version = "0.1"

[dev-dependencies.ratatui]
version = "0.30.0"
