# 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"
name = "piny"
version = "0.1.1"
description = "A library for parsing and generating Pinyin syllables"
license = "MIT OR Apache-2.0"
repository = "https://github.com/redforks/pinyin_rs"
resolver = "1"

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.modular-bitfield]
version = "0.11.2"

[dependencies.nohash-hasher]
version = "0.2.0"

[dependencies.nom]
version = "7.1.3"

[dependencies.serde]
version = "1.0.152"
features = ["derive"]
optional = true

[dependencies.strum]
version = "0.24.1"

[dependencies.strum_macros]
version = "0.24.3"

[dependencies.utoipa]
version = "2.4.2"
optional = true

[dev-dependencies.itertools]
version = "0.10.5"

[dev-dependencies.rstest]
version = "0.16.0"
default_features = false

[features]
default = [
    "swagger",
    "polyphone",
]
polyphone = []
swagger = ["utoipa"]
