range-split

Crates.iorange-split
lib.rsrange-split
version0.4.0
sourcesrc
created_at2019-06-16 11:38:03.072213
updated_at2021-01-28 04:26:00.489445
descriptionUtilities for splitting sequences with range parameters
homepage
repositoryhttps://github.com/mzabaluev/range-split
max_upload_size
id141529
size15,062
Mikhail Zabaluev (mzabaluev)

documentation

README

Splitting Sequences with Range Syntax

This library crate provides a trait and support utilities adding convenience methods for splitting sequences accordingly to a given range.

The primary use case for the TakeRange trait are data container libraries such as bytes, where representations of data buffers can be efficiently split into smaller parts, but the inherent methods for doing this tend to be not very mnemonic. Implementations of the trait parameterized with different range types provide convenient polymorphism with the range syntax.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in range-split by you, shall be licensed as MIT, without any additional terms or conditions.

Commit count: 48

cargo fmt