| Crates.io | gradient-string |
| lib.rs | gradient-string |
| version | 0.2.0 |
| created_at | 2025-06-22 06:33:25.154684+00 |
| updated_at | 2025-06-24 00:18:35.409175+00 |
| description | gradient-string is a safe crate to iterate over a gradient of permutations of string slices |
| homepage | https://docs.rs/gradient-string |
| repository | https://github.com/gabrielfalcao/gradient-string |
| max_upload_size | |
| id | 1721336 |
| size | 6,371 |
Gradient String is a safe crate to iterate over a gradient of permutations of string slices.
use gradient_string::Gradient;
let result = Gradient::new(" abc ")
.collect::<Vec<String>>();
assert_eq!(
result,
vec![
" ", "a", "b", "c", " ", " a", "ab", "bc", "c ", " ab", "abc", "bc ", " abc",
"abc ", " abc "
]
);