{"id":16687821,"url":"https://github.com/alecmocatta/sum","last_synced_at":"2025-04-10T00:32:33.697Z","repository":{"id":52417291,"uuid":"156555561","full_name":"alecmocatta/sum","owner":"alecmocatta","description":"General-purpose sum types.","archived":false,"fork":false,"pushed_at":"2021-04-29T20:06:10.000Z","size":50,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T02:13:51.602Z","etag":null,"topics":["data-structures","rust","sum-types"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alecmocatta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-07T14:06:20.000Z","updated_at":"2020-08-07T14:30:30.000Z","dependencies_parsed_at":"2022-08-27T03:51:31.564Z","dependency_job_id":null,"html_url":"https://github.com/alecmocatta/sum","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecmocatta%2Fsum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecmocatta%2Fsum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecmocatta%2Fsum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecmocatta%2Fsum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alecmocatta","download_url":"https://codeload.github.com/alecmocatta/sum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248135313,"owners_count":21053655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-structures","rust","sum-types"],"created_at":"2024-10-12T15:25:13.044Z","updated_at":"2025-04-10T00:32:33.666Z","avatar_url":"https://github.com/alecmocatta.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sum\n\n[![Crates.io](https://img.shields.io/crates/v/sum.svg?maxAge=86400)](https://crates.io/crates/sum)\n[![MIT / Apache 2.0 licensed](https://img.shields.io/crates/l/sum.svg?maxAge=2592000)](#License)\n[![Build Status](https://dev.azure.com/alecmocatta/sum/_apis/build/status/tests?branchName=master)](https://dev.azure.com/alecmocatta/sum/_build?definitionId=12)\n\n[📖 Docs](https://docs.rs/sum/0.1) | [💬 Chat](https://constellation.zulipchat.com/#narrow/stream/213236-subprojects)\n\nGeneral-purpose sum types.\n\nArbitrarily-sized product types exist in Rust in the form of [tuples](https://doc.rust-lang.org/std/primitive.tuple.html). This is a generalisation of bluss's [Either](https://docs.rs/either/1.5.0/either/enum.Either.html) type to provide **arbitrarily-sized sum types**\\*.\n\n\\* Over up to 32 types.\n\n## License\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE.txt](LICENSE-APACHE.txt) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT.txt](LICENSE-MIT.txt) or http://opensource.org/licenses/MIT)\n\nat your option.\n\nUnless 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falecmocatta%2Fsum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falecmocatta%2Fsum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falecmocatta%2Fsum/lists"}