next 0.2.0

Provides a trait to get the next sequential value
Documentation
  • Coverage
  • 100%
    4 out of 4 items documented0 out of 2 items with examples
  • Size
  • Source code size: 18 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 754.59 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Seldom-SE/next
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Seldom-SE

next

Crates.io MIT/Apache 2.0 Crates.io

next is a crate that provides a trait that gets the next value. That value is the next in the sequence implied by PartialOrd.

Usage

Add to your Cargo.toml

# Replace * with your desired version
[dependencies]
next = "*"

You can put #[derive(Next)] on your types and get the next value of a type with .next().

License

next is dual-licensed under MIT and Apache 2.0 at your option.

Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.