-
Notifications
You must be signed in to change notification settings - Fork 333
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
Change default minimal SQLite API version #1221
Conversation
From 3.6.8 to 3.14.0. Use `old_sqlite` feature to keep 3.6.8 (or 3.7.16) as the minimal version. Use `modern_sqlite` for SQLite API > 3.14.0. Also remove old 3.6.23 and 3.7.7 bindings.
I think there's an argument we shouldn't support these at all, as they have tons of security vulnerabilities. There's even an argument that under these our APIs aren't safe. |
But in this case what should be the minimal version supported by rusqlite ? |
Codecov Report
@@ Coverage Diff @@
## master #1221 +/- ##
==========================================
+ Coverage 76.70% 77.11% +0.40%
==========================================
Files 48 48
Lines 6238 6209 -29
==========================================
+ Hits 4785 4788 +3
+ Misses 1453 1421 -32
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Yeah I'm not sure. I think that's probably too aggressive. It's a tricky problem... We probably should not have an |
Ok, il will try to remove |
But yeah, idk. I think it's reasonable for us to cut off old versions at some point. Otherwise we have to support this stuff forever, no matter how broken and dangerous to use it is. |
And associated bindgen_3.6.8.rs
And associated bindgen
I was wrong: |
I chose version 3.14.0 but you may have a better choice ? |
Seems fine for now, eventually libsqlite3-sys should be mostly agnostic to the version (and then i'd feel better about being more aggressive about this in rusqlite). |
From 3.6.8 to 3.14.0.
Use
old_sqlite
feature to keep 3.6.8 (or 3.7.16) as the minimal version.Use
modern_sqlite
for SQLite API > 3.14.0.Also remove old 3.6.23 and 3.7.7 bindings.