# 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 = "add_space"
version = "0.1.19"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Automated typesetting tool that adds spaces between Chinese and English characters to enhance readability. / 自动排版工具，在中文和英文字符之间添加空格以增强可读性。"
homepage = "https://github.com/js0-site/rust/tree/dev/add_space"
readme = "README.md"
keywords = [
    "cli",
    "formatter",
    "cjk",
    "spacing",
    "typography",
]
categories = [
    "command-line-utilities",
    "text-processing",
    "parser-implementations",
    "command-line-interface",
    "text-editors",
]
license = "MulanPSL-2.0"
repository = "https://github.com/js0-site/rust.git"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cli = ["dep:clap"]
default = ["cli"]

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

[[bin]]
name = "add_space"
path = "src/main.rs"
required-features = ["cli"]

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

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

[dependencies.aok]
version = "0.1.18"

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.unic-emoji-char]
version = "0.9.0"

[dependencies.unicode-script]
version = "0.5.8"

[dev-dependencies.aok]
version = "0.1.18"

[dev-dependencies.log]
version = "0.4.29"

[dev-dependencies.log_init]
version = "0.1.34"

[dev-dependencies.static_init]
version = "1.0.4"
features = ["parking_lot"]

[dev-dependencies.tokio]
version = "1.49.0"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
    "sync",
]
