stellar / rs-stellar-xdr

Rust lib for Stellar XDR.
Apache License 2.0
20 stars 27 forks source link

Remove re-export of types into top-level #303

Closed leighmcculloch closed 1 year ago

leighmcculloch commented 1 year ago

What

Remove the re-export of types into top-level that occurs when only one of the curr or next features are enabled.

Why

It is confusing that when both curr and next are enabled that the top-level exports change. It's also difficult to debug.

In most cases applications could just depend on the specific module they'd like to use, and as such can reference stellar_xdr::curr::....