only_one

Crates.ioonly_one
lib.rsonly_one
version0.1.0
created_at2025-10-25 06:11:25.555373+00
updated_at2025-10-25 06:11:25.555373+00
descriptionProvides the OnlyOne trait, which allows less nesting when chaining results
homepage
repositoryhttps://github.com/przb/only-one
max_upload_size
id1899774
size11,597
Ben Przybyszewski (przb)

documentation

README

Only One

Extra functionality to reduce nesting with result chaining.

How to use with Cargo:

[dependencies]
only_one = "0.1.0"

How to use in your crate:

use only_one::OnlyOne;

License

Dual-licensed to be compatible with the Rust project.

Licensed under the Apache License, Version 2.0 https://www.apache.org/licenses/LICENSE-2.0 or the MIT license https://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.

Commit count: 0

cargo fmt