# 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"
rust-version = "1.81"
name = "sakurs-core"
version = "0.2.0"
authors = ["sog4be <163720533+sog4be@users.noreply.github.com>"]
build = false
exclude = [
    ".*",
    "benches/*",
    "examples/*",
    "tests/*",
    "target/*",
    "Cargo.lock",
    "configs/test/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance sentence boundary detection using Delta-Stack Monoid algorithm"
homepage = "https://github.com/sog4be/sakurs"
documentation = "https://docs.rs/sakurs-core"
readme = "README.md"
keywords = [
    "sentence-boundary",
    "nlp",
    "text-processing",
    "monoid",
    "parallel",
]
categories = [
    "text-processing",
    "algorithms",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/sog4be/sakurs"

[features]
default = [
    "std",
    "parallel",
]
no_std = []
parallel = [
    "rayon",
    "num_cpus",
]
std = []
wasm = []

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

[dependencies.num_cpus]
version = "1.16"
optional = true

[dependencies.rayon]
version = "1.11"
optional = true

[dependencies.regex]
version = "1.11"

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

[dependencies.smallvec]
version = "1.13"
features = [
    "union",
    "serde",
]

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "0.9"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1.0"

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