#set #theory #axiom #choice #zermelo–fraenkel

no-std zfc

Trait that represents a set according to Zermelo–Fraenkel set theory with the axiom of choice (ZFC)

8 releases

Uses new Rust 2024

0.4.1 Feb 21, 2025
0.4.0 Sep 6, 2024
0.3.2 Mar 27, 2024
0.3.1 Oct 18, 2023
0.1.1 Aug 28, 2023

#345 in Math

Download history 2/week @ 2024-11-13 4/week @ 2024-11-20 2/week @ 2024-12-04 4/week @ 2024-12-11 1/week @ 2025-02-05 145/week @ 2025-02-19 28/week @ 2025-02-26

174 downloads per month
Used in 2 crates

MIT/Apache

31KB
724 lines

zfc

git crates.io docs.rs

zfc is a library for sets according to Zermelo–Fraenkel set theory with the axiom of choice (ZFC).

Minimum Supported Rust Version (MSRV)

This will frequently be updated to be the same as stable. Specifically, any time stable is updated and that update has "useful" features or compilation no longer succeeds (e.g., due to new compiler lints), then MSRV will be updated.

MSRV changes will correspond to a SemVer patch version bump pre-1.0.0; otherwise a minor version bump.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer
  • MSRV is considered exempt from SemVer as noted above

License

Licensed under either of

at your option.

Contribution

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.

Before any PR is sent, cargo clippy and cargo t should be run for both --no-default-features and --all-features. Additionally RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features should be run to ensure documentation can be built.

Status

The crate is only tested on x86_64-unknown-linux-gnu and x86_64-unknown-openbsd targets, but it should work on most platforms.

Dependencies

~480KB
~10K SLoC