11 releases (breaking)

new 0.9.0 Dec 4, 2024
0.8.0 Oct 8, 2024
0.7.0 Aug 19, 2024
0.5.0 Dec 27, 2023
0.2.2 Jul 9, 2023

#374 in Text processing

Download history 267/week @ 2024-08-16 51/week @ 2024-08-23 25/week @ 2024-08-30 7/week @ 2024-09-06 17/week @ 2024-09-13 52/week @ 2024-09-20 15/week @ 2024-09-27 151/week @ 2024-10-04 60/week @ 2024-10-11 12/week @ 2024-10-18 45/week @ 2024-10-25 35/week @ 2024-11-01 13/week @ 2024-11-08 221/week @ 2024-11-15 19/week @ 2024-11-22 109/week @ 2024-11-29

371 downloads per month
Used in 5 crates (3 directly)

Apache-2.0

96KB
2.5K SLoC

armnod

Armnod is an anagram for "random"; Armnod is a library for working with random strings.

Each [Armnod] consists of a [SeedChooser], [LengthChooser], and [CharacterChooser] which compose a set of random strings. The SeedChooser picks the element of the set. It may say to stop iterating (enough items have been chosen), it may say to seek to a particular offset in another guacamole generator (there's a finite number of seeds), or it may say to not seek at all (an "infinite" number of strings are possible).

The [SeedChooser] and [LengthChooser] both pull from a guacamole::Guacamole stream to generate the seed and a u32 for the string's length. It's easy to see that when the guac is positioned at the same point in the stream, the seed and length will be the same.

[CharacterChooser] pulls bytes from the string and maps them to characters to create a string. Essentially mapping the binary data to ASCII data. UTF-8 marginally supported.

Status

Passive development. The warts pulled it from being maintenance track on 2023-09-19

Scope

This library provides the armnod type and an embeddable command-line interface.

Warts

  • The [ArmnodOptions] does not create the Armnod instance; it should.

Documentation

The latest documentation is always available at docs.rs.

Dependencies

~0–450KB