What is the purpose of this:
?
This dggal-rust sub-directory probably adds confusion to the different crates inside the workspace.
The DGGAL module already imports the necessary things from ecrt.
Is this only to use Application instead of ecrt::Application?
Given the generic nature of application, it might be desirable to explicitly write ecrt::Application::new in the one place at initialization time so that it is clearer that this initializes the eC runtime's Application abstraction.
The other relevant things from ecrt might be ecrt::Pointd and perhaps a few other things if one uses the readDGGSJSON() function which returns a very eC-native object, but it might be best to let the user explicitly import specific things form ecrt as needed, instead of automatically importing everything that ecrt defines.
What is the purpose of this:
dggal-rust/dggal-rust/src/lib.rs
Line 1 in 420c274
?
This
dggal-rustsub-directory probably adds confusion to the different crates inside the workspace.The DGGAL module already imports the necessary things from
ecrt.Is this only to use
Applicationinstead ofecrt::Application?Given the generic nature of application, it might be desirable to explicitly write
ecrt::Application::newin the one place at initialization time so that it is clearer that this initializes the eC runtime's Application abstraction.The other relevant things from ecrt might be
ecrt::Pointdand perhaps a few other things if one uses thereadDGGSJSON()function which returns a very eC-native object, but it might be best to let the user explicitly import specific things form ecrt as needed, instead of automatically importing everything that ecrt defines.