We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34ba13d commit 83b26a1Copy full SHA for 83b26a1
README.md
@@ -162,6 +162,15 @@ assert_eq!(remainder, hlist![true]);
162
`Generic` is a way of representing a type in ... a generic way. By coding around `Generic`, you can to write functions
163
that abstract over types and arity, but still have the ability to recover your original type afterwards. This can be a fairly powerful thing.
164
165
+#### Setup
166
+
167
+In order to derive the trait `Generic` (or `LabelledGeneric`) you will have to add `frunk_core` dependency
168
169
+```toml
170
+[dependencies]
171
+frunk_core = { version = "$version" }
172
+```
173
174
Frunk comes out of the box with a nice custom `Generic` derivation so that boilerplate is kept to a minimum.
175
176
Here are some examples:
0 commit comments