alga_derive

Crates.ioalga_derive
lib.rsalga_derive
version0.9.2
sourcesrc
created_at2017-03-29 22:05:36.086227
updated_at2020-03-02 08:54:36.583505
descriptionDerive attribute for implementing algebraic traits from the alga crate.
homepage
repositoryhttps://github.com/rustsim/alga
max_upload_size
id9252
size33,552
MACs (github:rustcrypto:macs)

documentation

README

crates.io Build status

Documentation

alga-derive − automatic deriving of abstract algebra traits for Rust

alga-derive allows automatic deriving of traits provided by alga.

It supports deriving following alga traits:

  • AbstractQuasigroup
  • AbstractMonoid
  • AbstractSemigroup
  • AbstractGroup
  • AbstractGroupAbelian
  • AbstractRing
  • AbstractRingCommutative
  • AbstractField

The custom derive can also be used to generate quickcheck tests that check that algebraic properties are satisfied by the target of the derive.

Commit count: 241

cargo fmt