You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of Lorust lacks utility functions related to string manipulation. This omission limits the library's usability for string processing tasks, common in many software projects.
Suggested solution
Create a new module named string under the src directory.
Implement the most frequently used lodash string utility functions within this module, such as:
camelCase
capitalize
endsWith
startsWith
trim
toLower
toUpper
Add comprehensive unit tests for each function to ensure correctness.
Update the README file to indicate that the string category is now supported, and perhaps include a few code examples.
A phased approach could be adopted, where the functions are implemented and released in smaller groups. This would allow for quicker initial releases and can be prioritized based on community feedback or the most common use cases.
Additional context
Adding a string module with utility functions similar to those in lodash's string category would enhance Lorust's overall functionality. This addition would make the library more appealing to Rust developers who have tasks related to string manipulation and may result in increased adoption of Lorust.
Clear and concise description of the problem
The current implementation of Lorust lacks utility functions related to string manipulation. This omission limits the library's usability for string processing tasks, common in many software projects.
Suggested solution
string
under thesrc
directory.string
utility functions within this module, such as:camelCase
capitalize
endsWith
startsWith
trim
toLower
toUpper
string
category is now supported, and perhaps include a few code examples.Code Example:
Alternative
A phased approach could be adopted, where the functions are implemented and released in smaller groups. This would allow for quicker initial releases and can be prioritized based on community feedback or the most common use cases.
Additional context
Adding a
string
module with utility functions similar to those in lodash'sstring
category would enhance Lorust's overall functionality. This addition would make the library more appealing to Rust developers who have tasks related to string manipulation and may result in increased adoption of Lorust.Validations
The text was updated successfully, but these errors were encountered: