As I'm working on integration tests I'm trying to decide what deserves a place in the "root" namespace of the crate. As an example, how should XbfPrimitive be imported:
// Option 1
use xbf_rs::XbfPrimitive;
// Option 2
use xbf_rs::xbf_primitive::XbfPrimitive;
This is also somewhat dependent on #35 and how that turns out. It might make the most sense to have the conversions at the root of the crate so that the user never actually has to type XbfPrimitive and can just use the named conversions to get what they want.
As I'm working on integration tests I'm trying to decide what deserves a place in the "root" namespace of the crate. As an example, how should
XbfPrimitivebe imported:This is also somewhat dependent on #35 and how that turns out. It might make the most sense to have the conversions at the root of the crate so that the user never actually has to type
XbfPrimitiveand can just use the named conversions to get what they want.