-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The correct way of adding the crate frunk dependency #218
Comments
I think you'll need to pull in frunk_core, unfortunately in order for the derive to work, since it's referenced in the macro that builds the derives. frunk/derives/src/derive_labelled_generic.rs Line 107 in 34ba13d
|
Thank you for the response 👍 |
That sounds good to me ! |
Cool 👍 Should I create a PR for this? |
Yeah, sounds good to me.
…On Mon, Jul 3, 2023 at 20:12 dima-starosud ***@***.***> wrote:
Cool 👍 Should I create a PR for this?
—
Reply to this email directly, view it on GitHub
<#218 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG7K5I5P4WUUIXJ7DGK2Q3XOKSIZANCNFSM6AAAAAAZVNEGIU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I am not sure I am able to assign this ticket to me 🤔 |
@lloydmeta created PR for this #219 |
Thank you! That was fast 😃 |
Most likely the issue is related to possibly outdated documentation.
Using
rustc 1.70.0 (90c541806 2023-05-31)
and following the latest docs here https://docs.rs/frunk/latest/frunk/I've added
frunk = "0.4.2"
to theCargo.toml
, but the following code fails to compile:with the error:
Adding
frunk_core = "0.4.2"
to theCargo.toml
fixes the issue, but I am not sure that's the proper way. Also, I couldn't find anything in the documentation about this.To me it looks like sole
frunk = "0.4.2"
should work out of the box.The text was updated successfully, but these errors were encountered: