Commit Graph

11 Commits

Author SHA1 Message Date
Dylan McKay 0963ff0f7f Switch the crate to Rust edition '2018' 2020-06-20 06:03:43 +12:00
Dylan McKay 15dc60d9a1 Add explicit 'dyn' to trait references
Fix deprecation warnings.
2020-06-20 05:59:12 +12:00
Dylan McKay e2443720fb Use std::env::var rather than env! in the build script
This will let the crate build on crates.io.
2018-11-06 00:03:06 +13:00
Dylan McKay 7f3f874eec Automatically assume CPU frequency when building docs 2018-11-05 23:48:19 +13:00
Dylan McKay aecd4edb36 Rename Mask to RegisterBits
This is much more intuitive.
2018-11-05 23:32:51 +13:00
Dylan McKay f90d5b2d0b Clean up the documentation and public exports
The interrupt helper struct does not need to be public.

Add some documentation to a bunch of types.
2018-11-05 23:32:51 +13:00
Dylan McKay 8a320ca9da Assume atmega328 when building documentation
This allows 'cargo doc', and notably, docs.rs to work.
2018-11-05 23:32:51 +13:00
Dylan McKay 4b451634e7 Rename AVR_FREQUENCY to AVR_FREQUENCY_HZ
A bit less ambiguous.
2018-11-05 23:32:51 +13:00
Dylan McKay 61c62ad0ed Merge Mask and Bitset, remove Bitset
There isn't as much value as I thought in making the distinction.
2018-11-05 23:32:51 +13:00
Dylan McKay 3f3c8e2559 Move 'mod' to more appropriate place 2018-11-05 23:32:39 +13:00
Dylan McKay e1a05bbf96 Move the build script into a subdir 2018-11-05 23:32:39 +13:00