samcrow / canadensis

A Rust implementation of Cyphal
Apache License 2.0
44 stars 5 forks source link

Clean up crate structure and imports #3

Closed samcrow closed 3 years ago

samcrow commented 3 years ago

A full-featured embedded application currently needs to depend on seven canadensis crates: canadensis, canadensis_bxcan, canadensis_can, canadensis_core, canadensis_data_types, canadensis_node, and canadensis_crc. That is inconvenient.

It would probably be good to choose some level of abstraction and make one crate re-export everything needed at that level.

samcrow commented 3 years ago

canadensis now re-exports canadensis_can, and canadensis_core. It also contains everything that was previously in canadensis_node. The other libraries are less commonly used, so they can remain separate.