larry-robotics / elkodon

Elkodon - true zero-copy inter-process-communication in rust
Apache License 2.0
14 stars 2 forks source link

Same default config file for every platform. #53

Open elfenpiff opened 7 months ago

elfenpiff commented 7 months ago

(Code) Example Of Cumbersome API

Currently, the default config file for windows is named config_win.toml to handle the windows path style. The unix variant is named config.toml.

Both should be named config.toml but the problem is, how to deliver two different default config files one for windows and one for the rest of the systems.

elBoberido commented 7 months ago

How are the files delivered? I could not find the place where it is done?

A naive idea would be to move them to a win/elkodon.toml and posix/elkodon.toml. If it is important to refer to the file as config/elkodon.toml it might be an option to have win/config/elkodon.toml and strip the win.

I can give you more ideas once I know how the files are delivered :)