You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just one example, I have now found several areas that cause issues when compiling due to an unguarded area of code. Perhaps it is intended that enabling the feature was supposed to toggle these other features as-well but was forgotten.
The text was updated successfully, but these errors were encountered:
Overall the serenity feature situation is a mess, we will accept PRs to current to fix it but I'm planning on removing a lot of feature guards in 0.13 so it becomes feasible to run cargo hack --feature-superset check to check all feature combinations compile.
The following line causes a compile failure with the
Client
and (native_tls_backend
orrustls_backend
) options selected:serenity/src/client/context.rs
Line 9 in 398d406
Cargo.toml snippit:
serenity = { version = "0.12", default-features = false, features = ["client", "rustls_backend"] }
The line below it has a guard for the import:
serenity/src/client/context.rs
Line 10 in 398d406
This is just one example, I have now found several areas that cause issues when compiling due to an unguarded area of code. Perhaps it is intended that enabling the feature was supposed to toggle these other features as-well but was forgotten.
The text was updated successfully, but these errors were encountered: