-
Notifications
You must be signed in to change notification settings - Fork 100
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
Make mysql use the native rust tls stack by default #144
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This removes the dependency on libssl, which is one of the few remaining dependencies that it has beyond libc This is a major version bump because there may be some inconsistencies with the tls certs suported by rustls https://docs.rs/mysql/latest/mysql/#ssl-support You can opt back into the native stack if you so choose
can anyone explain to me why cargo is ignoring the updated cargo lock file for the windows build? Or more accurately, why is the windows build locked while the linux ones are not? |
We add a target that provides "all" features that are all the relevant buildable features that are not mutually exclusive
heh I had a branch for this but got busy, will review soon |
This is hot |
ZeWaka
approved these changes
Jul 19, 2023
ZeWaka
reviewed
Jul 19, 2023
Merged
itsmeow
pushed a commit
to itsmeowForks/rust-g
that referenced
this pull request
Dec 28, 2023
itsmeow
added a commit
to BeeStation/rust-g
that referenced
this pull request
Dec 28, 2023
* Update time.dm (tgstation#130) * Bump version major, due to breaking change in tgstation#130 * Try to fix the dependency issue * Upgrade a bunch of dependencies (tgstation#134) * Upgrade base64 to 0.21 * bump toml to 0.7.4 * Upgrade pathfinding to 4.2.1 * Upgrade git2 to 0.17.1 * update mysql crate to 24.0 * aho-corasic upgrade to 1.0 pt A "automatic configuration is now the default." * upgrade ahocorasic pt B * Adds a redis reliable queue implementation (tgstation#133) * adds project to vscode rust-analyzer config it asked me to * redis reliable queue implementation * readme * cleanup * shit fixed * proper redis response handling for lpop * more clean * okay better handling i GUESS * updated redis crate, all my tests pass breaking changes don't apply either * update the cargo lock to 2.0.0 * ignore clippy for the redis_lpush match return * fixes cellularnoise clippy lints * dmi_strip_metadata won't remove alpha channel anymore (tgstation#136) * pedantic and nursery clippy lints (tgstation#137) * June `cargo update` (tgstation#138) * `cargo update` * update `const-random` to 0.1.15 (nothingburger change) * Update the url packages (percent-encoding and url) (still nothingburger) * dashmap to 5.4 * rayon to 1.7 * Stop using deprecated chrono func (would panic) * run `cargo update` again apparently a lot of things did some releases * put the once_cell version to 1.17 for some reason i missed it, ooops * 2.0.1 (tgstation#139) * add uniform precision to rust-g timestamp (tgstation#141) * add precision to rust-g timestamp * coping * adds rustg_dmi_icon_states (tgstation#140) * 2.1.0 (tgstation#143) * Make mysql use the native rust tls stack by default (tgstation#144) * 3.0.0 (tgstation#147) * Some routine updates for 3.0.0 (tgstation#152) routine package maintenance and upgrades - i went through the breaking changes and didn't see anything that looked like it affected us, only additions to public apis really * Use gitoxide rather than libgit2 for the git module (tgstation#156) * Adds Base64 decoding stuff (tgstation#154) * More routine updates (tgstation#157) * Updates `rustg_file_exists()` macro to remove user error (tgstation#158) * Last little bit of updates (tgstation#159) * v3.1.0 (tgstation#161) * pathfinder: fix typo in rustg_remove_node_astar (tgstation#162) * pathfinder: stringify args expecting numbers (tgstation#163) * Re-add all features release builds * Label linux builds * IconForge Start blending Huge cleanup Finish optimizing the thing Finish the thing!! Clean up a bit Re-add 32-bit thing Fix TOML sorting Add dmsrc Fix clippy suggestions Clippy.. stop being mean Cargo fmt + doc comments Code cleanup More cleanup, remove most unsafe unwrap()s, use Match syntax. Remove unneccesarily verbose casting Fix overlay blending Cleanup with new DMI version Cargo fmt Leaf test, DynamicImage->RgbaImage, better Error handling, DashMap, and cleanup command Fix Further tree optimizations, hashing optimization, cache icostrings more effectively. Optimize unique_icons insertion a little Fix macro Little more cleanup Add to README Update dmi, add caching logic. Address reviews Cleanup panic unwind Fix lint failure --------- Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: oranges <email@oranges.net.nz> Co-authored-by: ZeWaka <zewakagamer@gmail.com> Co-authored-by: DTraitor <74188902+DTraitor@users.noreply.github.com> Co-authored-by: silicons <2003111+silicons@users.noreply.github.com> Co-authored-by: Lucy <lucy@absolucy.moe> Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: Kapu1178 <75460809+Kapu1178@users.noreply.github.com> Co-authored-by: vvvv-vvvv <136390975+vvvv-vvvv@users.noreply.github.com>
FluffyGhoster
pushed a commit
to FluffyGhoster/aurora-rust-g
that referenced
this pull request
Mar 24, 2024
FluffyGhoster
added a commit
to FluffyGhoster/aurora-rust-g
that referenced
this pull request
Mar 24, 2024
commit 4aff57f Author: vvvv-vvvv <136390975+vvvv-vvvv@users.noreply.github.com> Date: Sun Dec 24 00:39:30 2023 +0000 pathfinder: stringify args expecting numbers (tgstation#163) commit c3313a1 Author: vvvv-vvvv <136390975+vvvv-vvvv@users.noreply.github.com> Date: Sun Dec 24 00:31:03 2023 +0000 pathfinder: fix typo in rustg_remove_node_astar (tgstation#162) commit 79f04b1 Author: ZeWaka <zewakagamer@gmail.com> Date: Sat Dec 23 13:15:10 2023 -0800 v3.1.0 (tgstation#161) commit bf20ba0 Author: ZeWaka <zewakagamer@gmail.com> Date: Sat Dec 23 01:04:28 2023 -0800 Last little bit of updates (tgstation#159) commit 50f36fa Author: Kapu1178 <75460809+Kapu1178@users.noreply.github.com> Date: Sat Dec 23 03:17:11 2023 -0500 Updates `rustg_file_exists()` macro to remove user error (tgstation#158) commit 75a6384 Author: ZeWaka <zewakagamer@gmail.com> Date: Sat Dec 16 18:57:46 2023 -0800 More routine updates (tgstation#157) commit 9cfa350 Author: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Date: Sun Dec 17 02:55:52 2023 +0000 Adds Base64 decoding stuff (tgstation#154) commit b964c87 Author: Lucy <lucy@absolucy.moe> Date: Sat Dec 16 20:47:38 2023 -0500 Use gitoxide rather than libgit2 for the git module (tgstation#156) commit 85631fa Author: ZeWaka <zewakagamer@gmail.com> Date: Mon Sep 25 13:38:15 2023 -0700 Some routine updates for 3.0.0 (tgstation#152) routine package maintenance and upgrades - i went through the breaking changes and didn't see anything that looked like it affected us, only additions to public apis really commit cd741e9 Author: ZeWaka <zewakagamer@gmail.com> Date: Sat Jul 22 17:48:26 2023 -0700 3.0.0 (tgstation#147) commit 36e6613 Author: oranges <email@oranges.net.nz> Date: Sun Jul 23 11:24:42 2023 +1200 Make mysql use the native rust tls stack by default (tgstation#144)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This removes the dependency on libssl, which is one of the few remaining dependencies that it has beyond libc
This is a major version bump because there may be some inconsistencies with the tls certs suported by rustls
https://docs.rs/mysql/latest/mysql/#ssl-support
You can opt back into the native stack if you so choose