-
Notifications
You must be signed in to change notification settings - Fork 13
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
Unsafe as a feature #4
Comments
What if you added |
Do you mind linking me documentation on how feature flags poison through cyclic dependencies? My google-fu is failing me. |
crate A[dependencies]
crate-b = { version = "0.1.0", features = ["foo"] }
crate-c = "1.1.0" crate C[dependencies]
crate-b = { version = "0.1.0", features = ["baz"] } At this point, crate A would see both |
Ah! That makes sense now. Hmm I am not a huge fan of |
|
Writing unsafe on every mock is a bit annoying.
What if we added a feature called
unsafe
ori-know-faux-is-unsafe-so-hush
that if turned on exposed the mocking methods as "safe" since the user has already opted-in the unsafety at the crate level.The text was updated successfully, but these errors were encountered: