[[bin]]
name = "simd_test"
path = "src/bin/simd_test.rs"
required-features = ["simd"]
[dependencies.aho-corasick]
default-features = false
optional = true
version = "1.1"
[dependencies.bytecount]
optional = true
version = "0.6"
[dependencies.component_model_types]
default-features = false
features = ["enabled"]
version = "~0.16.0"
[dependencies.lazy_static]
optional = true
version = "1.4"
[dependencies.lexical]
optional = true
version = "7.0.4"
[dependencies.memchr]
default-features = false
optional = true
version = "2.7"
[dependencies.strs_tools_meta]
default-features = false
optional = true
version = "~0.11.0"
[dev-dependencies.benchkit]
version = "~0.13.0"
[dev-dependencies.ctor]
version = "0.2"
[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 = "006_number_parsing"
path = "examples/006_number_parsing.rs"
[[example]]
name = "008_zero_copy_optimization"
path = "examples/008_zero_copy_optimization.rs"
[[example]]
name = "009_compile_time_pattern_optimization"
path = "examples/009_compile_time_pattern_optimization.rs"
[[example]]
name = "debug_parser_manual"
path = "examples/debug_parser_manual.rs"
[[example]]
name = "parser_integration_benchmark"
path = "examples/parser_integration_benchmark.rs"
[[example]]
name = "parser_manual_testing"
path = "examples/parser_manual_testing.rs"
[[example]]
name = "simple_compile_time_test"
path = "examples/simple_compile_time_test.rs"
[features]
_disabled_compile_time_tests = []
compile_time_optimizations = ["dep:strs_tools_meta"]
default = ["enabled", "no_std", "use_alloc", "string_indentation", "string_isolate", "string_split", "string_parse_number", "compile_time_optimizations"]
enabled = ["strs_tools_meta/enabled"]
full = ["enabled", "std", "string_indentation", "string_isolate", "string_split", "string_parse_number", "string_parse_request", "simd", "compile_time_optimizations", "specialized_algorithms", "_disabled_compile_time_tests"]
indentation = ["string_indentation"]
isolate = ["string_isolate"]
no_std = []
parse_number = ["string_parse_number"]
parse_request = ["string_parse_request"]
simd = ["std", "dep:memchr", "memchr/std", "dep:aho-corasick", "aho-corasick/std", "aho-corasick/perf-literal", "dep:bytecount", "dep:lazy_static"]
specialized_algorithms = ["string_split"]
split = ["string_split"]
std = []
string_indentation = ["enabled"]
string_isolate = ["enabled"]
string_parse = ["string_parse_request"]
string_parse_number = ["dep:lexical", "enabled"]
string_parse_request = ["string_split", "string_isolate", "enabled"]
string_split = ["enabled"]
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"
large_enum_variant = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
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"
struct_excessive_bools = "allow"
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"
exclude = ["benches/"]
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.34.0"
[package.metadata.docs.rs]
all-features = false
features = ["full"]
[[test]]
name = "compile_time_pattern_optimization_test"
path = "tests/compile_time_pattern_optimization_test.rs"
[[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 = "issue_001_mre"
path = "tests/issue_001_mre.rs"
[[test]]
name = "namespace_verification_test"
path = "tests/namespace_verification_test.rs"
[[test]]
name = "parser_integration_comprehensive_test"
path = "tests/parser_integration_comprehensive_test.rs"
[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"
[[test]]
name = "strs_tools_tests"
path = "tests/strs_tools_tests.rs"