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
Hide Error::downcast and Error::from_anyhow behind an "anyhow" feature flag. These are currently the only public APIs using anyhow types. Moreover only publicly re-export anyhow crate behind the feature flag.
This allows the default API to keep the implementation separate from the user and the "anyhow" feature-set to allow conversion between the two types.
The text was updated successfully, but these errors were encountered:
Due to the way the error_from macro invokes anyhow's macros, anyhow must remain public. Therefore we will not use a feature flag to gate off the anyhow integration.
BREAKING CHANGE
Hide
Error::downcast
andError::from_anyhow
behind an "anyhow" feature flag. These are currently the only public APIs using anyhow types. Moreover only publicly re-exportanyhow
crate behind the feature flag.This allows the default API to keep the implementation separate from the user and the "anyhow" feature-set to allow conversion between the two types.
The text was updated successfully, but these errors were encountered: