@@ -29,7 +29,7 @@ all-features = false
2929default = [
3030 " enabled" ,
3131 " string_indentation" ,
32- " string_isolate" ,
32+ " string_isolate" ,
3333 " string_split" ,
3434 " string_parse_number" ,
3535 " string_parse_request" ,
@@ -42,7 +42,7 @@ full = [
4242 " enabled" ,
4343 " string_indentation" ,
4444 " string_isolate" ,
45- " string_split" ,
45+ " string_split" ,
4646 " string_parse_number" ,
4747 " string_parse_request" ,
4848 " simd" ,
@@ -51,7 +51,7 @@ full = [
5151]
5252
5353# ========================================
54- # CORE FEATURES (granular control)
54+ # CORE FEATURES (granular control)
5555# ========================================
5656
5757# Minimal functionality - required for all other features
@@ -66,7 +66,7 @@ string_isolate = ["enabled"]
6666# String splitting functionality (core splitting algorithms)
6767string_split = [" enabled" ]
6868
69- # Number parsing functionality
69+ # Number parsing functionality
7070string_parse_number = [" dep:lexical" , " enabled" ]
7171
7272# Request parsing functionality (depends on string_split + string_isolate)
@@ -80,7 +80,7 @@ string_parse_request = ["string_split", "string_isolate", "enabled"]
8080# When enabled: uses vectorized operations, runtime CPU detection
8181# When disabled: uses scalar fallbacks, smaller binary size
8282simd = [
83- " dep:memchr" , " memchr/std" , # memchr with runtime AVX2 detection
83+ " dep:memchr" , " memchr/std" , # memchr with runtime AVX2 detection
8484 " dep:aho-corasick" , " aho-corasick/std" , " aho-corasick/perf-literal" , # aho-corasick with vectorized prefilters
8585 " dep:bytecount" , # SIMD byte counting
8686 " dep:lazy_static" # Required for SIMD static initialization
@@ -92,22 +92,22 @@ specialized_algorithms = ["string_split"] # Requires string_split as base functi
9292# Compile-time pattern optimizations using proc macros
9393compile_time_optimizations = [" dep:strs_tools_meta" ]
9494
95- # ========================================
95+ # ========================================
9696# ENVIRONMENT FEATURES (platform control)
9797# ========================================
9898
9999# no_std compatibility - disables std-dependent features
100100no_std = []
101101
102- # Enables alloc-based functionality in no_std environments
102+ # Enables alloc-based functionality in no_std environments
103103use_alloc = [" no_std" ]
104104
105105# ========================================
106106# COMPATIBILITY ALIASES (short names for convenience)
107107# ========================================
108108
109109# Short aliases for common features
110- indentation = [" string_indentation" ]
110+ indentation = [" string_indentation" ]
111111isolate = [" string_isolate" ]
112112split = [" string_split" ]
113113parse_number = [" string_parse_number" ]
@@ -119,7 +119,7 @@ lexical = { workspace = true, optional = true }
119119component_model_types = { workspace = true , features = [" enabled" ] }
120120
121121# Compile-time optimization macros
122- strs_tools_meta = { version = " 0.2.0 " , path = " strs_tools_meta" , optional = true }
122+ strs_tools_meta = { workspace = true , path = " strs_tools_meta" , optional = true }
123123
124124# SIMD optimization dependencies (optional)
125125# When simd feature is disabled, these dependencies are not included at all
0 commit comments