[[bench]]
harness = false
name = "bottlenecks"
path = "benchmarks/bottlenecks.rs"
[[bin]]
name = "simd_test"
path = "src/bin/simd_test.rs"
required-features = ["simd"]
[dependencies.aho-corasick]
optional = true
version = "1.1"
[dependencies.bytecount]
optional = true
version = "0.6"
[dependencies.component_model_types]
default-features = false
features = ["enabled"]
version = "~0.5.0"
[dependencies.lazy_static]
optional = true
version = "1.4"
[dependencies.lexical]
optional = true
version = "7.0.4"
[dependencies.memchr]
optional = true
version = "2.7"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.test_tools]
features = ["full"]
version = "~0.16.0"
[[example]]
name = "001_basic_usage"
path = "examples/001_basic_usage.rs"
[[example]]
name = "002_advanced_splitting"
path = "examples/002_advanced_splitting.rs"
[[example]]
name = "003_text_indentation"
path = "examples/003_text_indentation.rs"
[[example]]
name = "004_command_parsing"
path = "examples/004_command_parsing.rs"
[[example]]
name = "005_string_isolation"
path = "examples/005_string_isolation.rs"
[[example]]
name = "006_number_parsing"
path = "examples/006_number_parsing.rs"
[[example]]
name = "007_performance_and_simd"
path = "examples/007_performance_and_simd.rs"
[features]
default = ["enabled", "string_indentation", "string_isolate", "string_parse_request", "string_parse_number", "string_split", "simd"]
enabled = []
full = ["enabled", "string_indentation", "string_isolate", "string_parse_request", "string_parse_number", "string_split", "simd"]
indentation = ["enabled"]
isolate = ["enabled"]
no_std = []
parse_number = ["lexical", "enabled"]
parse_request = ["split", "isolate", "enabled"]
simd = ["memchr", "aho-corasick", "bytecount", "lazy_static"]
split = ["enabled"]
string_indentation = ["indentation"]
string_isolate = ["isolate"]
string_parse = ["parse_request"]
string_parse_number = ["parse_number"]
string_parse_request = ["parse_request"]
string_split = ["split"]
use_alloc = ["no_std"]
[lib]
name = "strs_tools"
path = "src/lib.rs"
[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
cast_precision_loss = "allow"
doc_include_without_cfg = "warn"
implicit_return = "allow"
inline_always = "allow"
items_after_statements = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "warn"
mod_module_files = "allow"
module_name_repetitions = "allow"
pub_use = "allow"
question_mark_used = "allow"
single_call_fn = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "warn"
undocumented_unsafe_blocks = "deny"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe-code = "deny"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[package]
authors = ["Kostiantyn Wandalen <wandalen@obox.systems>", "Dmytro Kryvoruchko <dmytro.kr@obox.systems>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "development-tools"]
description = """
Tools to manipulate strings.
"""
documentation = "https://docs.rs/strs_tools"
edition = "2021"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/strs_tools"
keywords = ["fundamental", "general-purpose"]
license = "MIT"
name = "strs_tools"
readme = "readme.md"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/strs_tools"
version = "0.25.0"
[package.metadata.docs.rs]
all-features = false
features = ["full"]
[[test]]
name = "debug_hang_split_issue"
path = "tests/debug_hang_split_issue.rs"
[[test]]
name = "debug_split_issue"
path = "tests/debug_split_issue.rs"
[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"
[[test]]
name = "strs_tools_tests"
path = "tests/strs_tools_tests.rs"