As of 0.9.0-alpha.0 the synchronous code has been disabled. This is due to a few difficulties with maintaining both the sync and async code in the same crate, specifically the difficulties exist around ensuring that docs are built properly to expose both interfaces. This difficulty comes about due to some types being made private in the mongodb crate based on the existence of some feature flags.
All in all, the easiest path forward may be to crate a new wither_sync crate which exposes the sync code if folks find themselves in need of this code.
If you are one of those individuals, please let me know!
As of
0.9.0-alpha.0
the synchronous code has been disabled. This is due to a few difficulties with maintaining both the sync and async code in the same crate, specifically the difficulties exist around ensuring that docs are built properly to expose both interfaces. This difficulty comes about due to some types being made private in the mongodb crate based on the existence of some feature flags.All in all, the easiest path forward may be to crate a new
wither_sync
crate which exposes the sync code if folks find themselves in need of this code.If you are one of those individuals, please let me know!