[package]
edition = "2024"
rust-version = "1.85"
name = "whichtime-sys"
version = "0.1.0"
authors = ["Transcode Inc. <info@transcode.works>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lower-level parsing engine for natural language date parsing"
homepage = "https://transcodeworks.github.io/whichtime/"
documentation = "https://docs.rs/whichtime-sys"
readme = "README.md"
keywords = [
"dates",
"natural-language",
"parsing",
"performance",
"time",
]
categories = [
"date-and-time",
"parsing",
]
license = "MIT"
repository = "https://github.com/transcodeworks/whichtime"
[features]
default = ["std"]
std = []
uniffi = ["dep:uniffi"]
[lib]
name = "whichtime_sys"
path = "src/lib.rs"
[[test]]
name = "basic_tests"
path = "tests/basic_tests.rs"
[[test]]
name = "de_tests"
path = "tests/de_tests.rs"
[[test]]
name = "en_tests"
path = "tests/en_tests.rs"
[[test]]
name = "es_tests"
path = "tests/es_tests.rs"
[[test]]
name = "fr_tests"
path = "tests/fr_tests.rs"
[[test]]
name = "it_tests"
path = "tests/it_tests.rs"
[[test]]
name = "ja_tests"
path = "tests/ja_tests.rs"
[[test]]
name = "nl_tests"
path = "tests/nl_tests.rs"
[[test]]
name = "pt_tests"
path = "tests/pt_tests.rs"
[[test]]
name = "ru_tests"
path = "tests/ru_tests.rs"
[[test]]
name = "sv_tests"
path = "tests/sv_tests.rs"
[[test]]
name = "uk_tests"
path = "tests/uk_tests.rs"
[[test]]
name = "zh_tests"
path = "tests/zh_tests.rs"
[[bench]]
name = "comparison"
path = "benches/comparison.rs"
harness = false
[dependencies.aho-corasick]
version = "1.1"
[dependencies.bitflags]
version = "2.4"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.chrono-tz]
version = "0.10.4"
[dependencies.fancy-regex]
version = "0.17"
[dependencies.phf]
version = "0.13"
features = ["macros"]
[dependencies.regex]
version = "1.12.3"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.smallvec]
version = "1.11"
[dependencies.thiserror]
version = "2"
[dependencies.uniffi]
version = "0.31"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]