elor

Crates.ioelor
lib.rselor
version1.1.4
sourcesrc
created_at2022-04-05 11:19:13.050347
updated_at2023-01-04 19:36:52.248633
descriptionBase generic implementation of an Either type
homepage
repositoryhttps://github.com/Aandreba/elor
max_upload_size
id562531
size65,276
Alex (Aandreba)

documentation

README

Either Left Or Right (elor)

Crate API

elor is a no_std Rust crate with one simple type; Either. It represents a value that's of one type or another, and implements various functionalities depending on the attributes of those types

Features

Name Description Dependencies
std Allows the usage of standard library functionality. Enabled by default and mutually exclusive with alloc Standard library
alloc Allows for heap allocation in the absence of the standard library. Mutually exclusive with std Alloc library
serialize Allow for serialization and deserialization serde
random Allows generating random Either's rand
async Allows async polling of async Either's futures
macro Allows for the implementation of functionality geared towards the development of procedural macros quote, syn and proc_macro2
Commit count: 10

cargo fmt