-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Syn/2.0 #3563
Syn/2.0 #3563
Conversation
checked it and it broke)
e7e51e0
to
d725412
Compare
as that will fail due to the use of the nightly feature
Would you mind if we use a forked version of |
@@ -445,7 +445,7 @@ jobs: | |||
sudo apt-get update | |||
sudo apt-get -y install libsqlite3-dev libpq-dev libmysqlclient-dev | |||
- name: Check diesel_derives | |||
run: cargo +1.65.0 minimal-versions check -p diesel_derives --all-features | |||
run: cargo +1.65.0 minimal-versions check -p diesel_derives --features "postgres sqlite mysql 32-column-tables 64-column-tables 128-column-tables without-deprecated with-deprecated r2d2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not? Wouldn't we want to check that all features work on minimal dep versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because --all-features
would enable the nightly
feature for diesel-derives
, which in turn would enable an unstable rustc feature, which in turn will not compile on a stable release.
The feature list is equivalent to --all-features
with the nightly
feature removed.
I'm fine with using a forked version of that crate as long as:
There is another reasons why I moved away from |
I am willing to maintain it in either this org or clap org. But before I start doing that, I would like to ask @epage's opinion first because clap is going to have the same issue. |
I already removed |
This updates our dependency on
syn
to the latest 2.0 release. Also it removes theproc_macro_error
crate as that requires syn 1.x