| Crates.io | only_one |
| lib.rs | only_one |
| version | 0.1.0 |
| created_at | 2025-10-25 06:11:25.555373+00 |
| updated_at | 2025-10-25 06:11:25.555373+00 |
| description | Provides the OnlyOne trait, which allows less nesting when chaining results |
| homepage | |
| repository | https://github.com/przb/only-one |
| max_upload_size | |
| id | 1899774 |
| size | 11,597 |
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;
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.