# 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.74"
name = "to-regex-range"
version = "0.1.1"
authors = ["trananhtung"]
build = false
exclude = [
    "/.github",
    "/.gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate a compact regex that matches an integer range: (1, 99) -> [1-9]|[1-9][0-9]. A faithful port of the to-regex-range npm package. Zero dependencies, no_std."
homepage = "https://github.com/trananhtung/to-regex-range"
documentation = "https://docs.rs/to-regex-range"
readme = "README.md"
keywords = [
    "regex",
    "range",
    "number",
    "integer",
    "pattern",
]
categories = [
    "text-processing",
    "parser-implementations",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trananhtung/to-regex-range"

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

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

[dependencies]

[lints.clippy]
all = "warn"
pedantic = "warn"

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
