-
Notifications
You must be signed in to change notification settings - Fork 83
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
Improve version management & avoid conflict between multiple version #246
Comments
Just realize that there also a lot of rust functions and function pointers are exposed in |
Yeah I guess we could make another crate mbedtls-platform-support. Especially for lib.rs I'm not sure if that will work properly for 0.7, because the features & conditional build logic supporting this changed pretty significantly in 0.8. I don't think the function pointers are a big deal, should work the same way? |
If it won't, then I think we should give up on this for now, possibly revert the mbedtls-selftest changes as well, and just do a flag day migration across all our projects. |
Got it, let me try if it's possible to split the code in 0.7 |
Purpose
To make it's possible to have multiple versions of
rust-mbedtls
in the dependency tree.The following works need to be done:
Able to compile together:
mbedtls_malloc
to avoid conflicts. Namespace symbols for mbedtls_malloc to avoid conflicts. #243threading
time
selftest
) into a separate crate Add crate:mbedtls-platform-support
#254Better version management:
mbedtls-selftest
, done by Prepare to publishmbedtls-selftest
#250mbedtls-selftest
#2510.7.3
0.8.2
mbedtls-platform-support
#254 tov0.7
, [v0.7] Moveselftest, threading, time
code to cratembedtls-platform-support
#2600.7.4
mbedtls-platform-support
#254 tov0.8
, [v0.8] Moveself test, threading, time
code to cratembedtls-platform-support
#2590.8.3
The text was updated successfully, but these errors were encountered: