-
Notifications
You must be signed in to change notification settings - Fork 270
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
secp256k1
: Remove secp256k1_sys
types from the public API
#655
Comments
secp256k1_sys
types from the public APIsecp256k1
: Remove secp256k1_sys
types from the public API
Yeah, I guess you're correct. I wonder if we should still export |
Clearly marked |
To clarify, is this referring to the WDYT about re-exporting from a new feature gated #[cfg(feature = "unstable")]
/// pub re-export of ffi types which may never stabilise
pub mod unstable {
pub type NonceFn = super::NonceFn;
pub type EcdhHashFn = super::EcdhHashFn;
pub type SchnorrNonceFn = super::SchnorrNonceFn;
pub type EllswiftEcdhHashFn = super::EllswiftEcdhHashFn;
} |
It's more than that -- most types have I'm not a huge fan of having a feature-gate, because it increases the test matrix, it brings up bad memories of the old But if other people feel we should have the feature gate I will go along with it. We have a similar problem in |
If we want to be able to stabalize this crate and release a v1.0 we either have to stabalize
secp256k1_sys
or remove all theffi
types from the public API.Since the
secp256k1_sys
crate may never stabalize we should proactively wrap/hide/remove thesecp256k1_sys
types from the public API.The text was updated successfully, but these errors were encountered: