btypes-0.2.2 has been yanked.
btypes
A Rust library providing enhanced types with additional features and functionality.
Features
-
BetterString: An enhanced string type with additional operations and utility methods
- String validation (email, URL, IPv4)
- Pattern matching and replacement
- Base64 and URL encoding/decoding
- Arithmetic operations (concatenation, multiplication)
- Advanced string manipulation methods
-
Boolean Types
- Advanced boolean operations
- Named boolean states
- State management capabilities
- Raw binary access
Installation
Add this to your Cargo.toml:
[]
= "0.2.2"
Feature Flags
The library supports the following feature flags:
named_bools: Enables named boolean functionality (includesbools)bools: Basic boolean functionalitystrings: String enhancement functionalityall: Enables all features
Examples
BetterString Usage
use BetterString;
Boolean Operations
See the examples directory for detailed boolean operation examples:
examples/bool_ex.rsexamples/low_cap_bool_ex.rs
License
This project is licensed under the GPL-3.0 License.