-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Refactoring #535
Refactoring #535
Conversation
1. Replace `impl Default` to `#[derive(Default)]` 2. Added `Expr::custom_keyword` 3. Added `SimpleExpr::not`
Just being curious, what feature do we need from |
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.
Looks nice
We shouldn't bump MSRV simply because a new version of Rust is being released. MSRV should be kept to the minimum compatible version. And Rust compiler will throw a seemingly unrelated error message when user compile the project with older Rust version. E.g. SeaQL/sea-orm#1045 |
Btw... we have this tool to find the minimum compatible Rust version: https://github.com/foresterre/cargo-msrv |
@tyt2y3 I need it for https://rust-lang.github.io/rfcs/3107-derive-default-enum.html |
Bumping MSRV in SeaQuery means bumping MSRV across nearly all SeaQL libraries. As SeaQuery is the foundation of everything. |
I understand this.
|
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.
Hey @ikrivosheev, thanks for the quick check!!
We should specify the MSRV in SeaSchema after this was merged
I am continue working on improve
API
New Features
Expr::custom_keyword
SimpleExpr::not
Breaking changes
Changes
impl Default
to#[derive(Default)]