whichtime 0.1.0

High-level Rust API for natural language date parsing
Documentation
# 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.85"
name = "whichtime"
version = "0.1.0"
authors = ["Transcode Inc. <info@transcode.works>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level Rust API for natural language date parsing"
homepage = "https://transcodeworks.github.io/whichtime/"
documentation = "https://docs.rs/whichtime"
readme = "README.md"
keywords = [
    "chrono-node",
    "dates",
    "natural-language",
    "parsing",
    "time",
]
categories = [
    "date-and-time",
    "parsing",
]
license = "MIT"
repository = "https://github.com/transcodeworks/whichtime"

[features]
alloc = []
default = ["std"]
profiling = []
std = []
wasm_js = [
    "js-sys",
    "serde-wasm-bindgen",
    "std",
    "tsify",
    "wasm-bindgen",
    "web-time",
]

[lib]
name = "whichtime"
crate-type = ["rlib"]
path = "src/lib.rs"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.fancy-regex]
version = "0.17"

[dependencies.lazy_static]
version = "1.5"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2"

[dependencies.whichtime-sys]
version = "0.1.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.77"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
version = "0.6.5"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.tsify]
version = "0.5.5"
features = ["js"]
optional = true
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2.93"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.web-time]
version = "1.1.0"
features = ["serde"]
optional = true