Skip to content

What should be in the root namespace? #38

@dkrautha

Description

@dkrautha

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions