Crates.io | shoggoth_macros |
lib.rs | shoggoth_macros |
version | 0.0.19 |
source | src |
created_at | 2015-02-11 02:54:20.944332 |
updated_at | 2015-12-11 23:55:55.315022 |
description | Generic and type-level programming for Rust |
homepage | |
repository | https://github.com/epsilonz/shoggoth.rs |
max_upload_size | |
id | 1376 |
size | 2,945 |
Generic and type-level programming for Rust
It was a terrible, indescribable thing vaster than any subway train—a shapeless congeries of protoplasmic bubbles, faintly self-luminous, and with myriads of temporary eyes forming and un-forming as pustules of greenish light all over the tunnel-filling front that bore down upon us, crushing the frantic penguins and slithering over the glistening floor that it and its kind had swept so evilly free of all litter.
—H. P. Lovecraft, At The Mountains of Madness
This library implements generic and type-level programming functionality. It is heavily inspired by Miles Sabin's Shapeless for Scala.
See the API documentation here.
You can install both with the following:
$ curl -s https://static.rust-lang.org/rustup.sh | sudo sh
See Installing Rust for further details.
$ cargo build ## build library and binary
$ cargo test ## run tests in ./tests
$ cargo bench ## run benchmarks in ./benches
There is an IRC channel on freenode (chat.freenode.net) at #epsilonz.