8 releases

0.1.7 Aug 7, 2020
0.1.6 Jul 4, 2020
0.1.4 May 16, 2020
0.1.3 Feb 18, 2019
0.1.1 Nov 28, 2018

#275 in Data structures

Download history 21/week @ 2021-08-16 17/week @ 2021-08-23 13/week @ 2021-08-30 15/week @ 2021-09-06 12/week @ 2021-09-13 11/week @ 2021-09-20 18/week @ 2021-09-27 13/week @ 2021-10-04 10/week @ 2021-10-11 19/week @ 2021-10-18 11/week @ 2021-10-25 15/week @ 2021-11-01 17/week @ 2021-11-08 13/week @ 2021-11-15 16/week @ 2021-11-22 33/week @ 2021-11-29

88 downloads per month
Used in 8 crates (4 directly)

MIT/Apache

27KB
452 lines

sum

Crates.io MIT / Apache 2.0 licensed Build Status

📖 Docs | 💬 Chat

General-purpose sum types.

Arbitrarily-sized product types exist in Rust in the form of tuples. This is a generalisation of bluss's Either type to provide arbitrarily-sized sum types*.

* Over up to 32 types.

License

Licensed under either of

at your option.

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.

Dependencies

~205KB