constant macro arrays
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 35d66ce..d34c00a 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# `car`
+![forthebadge](https://forthebadge.com/api/badges/generate?panels=2&primaryLabel=+maintained&secondaryLabel=NO%21&primaryBGColor=%231b80a0&primaryTextColor=%23FFFFFF&secondaryBGColor=%23e70e0e&secondaryTextColor=%23FFFFFF&primaryFontSize=12&primaryFontWeight=900&primaryLetterSpacing=2&primaryFontFamily=Verdana&primaryTextTransform=uppercase&secondaryFontSize=12&secondaryFontWeight=900&secondaryLetterSpacing=2&secondaryFontFamily=Verdana&secondaryTextTransform=uppercase&scale=0.6)
+
macro based array manipulation constant techniques
## you wanted a quick LUT in const? here you go!
@@ -11,4 +13,11 @@ let squares: [usize; 0xffffffff] = car::from_fn!(|i| i * 2);
## completely stable!
-for once! \ No newline at end of file
+for once!
+
+## notice
+
+with the advent of const closures in nightly rust, this crate is now only useful if you're on stable.
+any nightly users should switch to using `x.map(const |x| ..)` or `from_fn(const |i| ..)` instead.
+
+as a result, this crate is now deprecated.