Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd "bundled" feature like rusqlite #1647
Comments
This comment has been minimized.
spease
commented
Apr 18, 2018
•
|
Just realized this is probably easier than i thought - the "bundled" feature is actually on libsqlite3-sys. So you can do
Would still be nice if this was a diesel feature for convenience purposes (not sure if it could apply to postgresql if it's enabled, but that would make sense). It should definitely be documented somewhere. |
This comment has been minimized.
akatechis
commented
Apr 20, 2018
|
Running into similar issues on windows. I managed to get |
This comment has been minimized.
spease
commented
Apr 20, 2018
|
Take a look at my post just above yours. If you include that in your Cargo.toml in addition to diesel, diesel will use libsqlite3-sys with the bundled feature and it should obviate the need for messing with the DLLs and libs. That's what I used to get diesel working with our CI system. |
This comment has been minimized.
stahlstift
commented
Apr 24, 2018
|
It would be nice if this feature will be added to diesel (especially diesel_cli) for windows users... |
weiznich
added
good first issue
has open pr
labels
Apr 24, 2018
This comment has been minimized.
|
@stahlstift It is not required to add this as a feature to diesel itself, because one could easily specify the bundled linking there using @spease method. (Adding a feature flag for this wouldn't make it easier…) For diesel-cli there is already #1302, which needs someone to fix the remaining review comments. |
This comment has been minimized.
stahlstift
commented
Apr 24, 2018
|
Well I am not an expert with the rust ecosystem - but why not add a feature for it (e.G. sqlite-bundle)? Update: ok #1302 has the same idea with sqlite-bundle |
This comment has been minimized.
|
Fixed by #1672 |
spease commentedApr 18, 2018
I recently migrated from tql to diesel, as tql didn't appear to have a very complete mapping of commands to SQL.
Right now using diesel on Windows is a real pain involving multiple workarounds:
#487
It'd be ideal if diesel could offer a "bundled" feature like rusqlite:
https://github.com/jgallagher/rusqlite
This made builds on Windows virtually painless.
Thanks.