This PR improves the handling of the rhio executable by:
Adding support for a config.toml file which can be used to add known node addresses and set the NATS or MinIO endpoints
Use LOG_LEVEL or -l argument to set verbosity, default is rhio=INFO
Remove examples
Remove unused features, like mDNS discovery, tickets, relayed connections
The NATS client is also created in this PR, while not strictly related, it helped to understand the structure of the configuration 😎
In general this also helps to configure NATS Stream Consumers, which could be defined in config.toml in the future (later we want them to be created dynamically).
:rocket:
This description was created by Ellipsis for commit aa6a2ccec81d3620af1682c36fb9738d0634f5b6
Summary:
This PR enhances rhio with config.toml, logging setup, a NATS client, and removes unused features, updating several files for new configurations.
Key points:
Enhance rhio configuration with config.toml for node addresses and endpoints.
Add LOG_LEVEL or -l argument for verbosity in rhio/src/main.rs.
Remove examples and unused features like mDNS discovery and tickets.
Create a NATS client in rhio/src/node.rs.
Update rhio/src/actor.rs for configuration changes.
Modify rhio-ffi/src/config.rs for new configuration structure.
Update rhio-ffi/src/node.rs for new configuration and node spawning.
Adjust dependencies in rhio/Cargo.toml and rhio-ffi/Cargo.toml.
This PR improves the handling of the
rhio
executable by:config.toml
file which can be used to add known node addresses and set the NATS or MinIO endpointsLOG_LEVEL
or-l
argument to set verbosity, default isrhio=INFO
The NATS client is also created in this PR, while not strictly related, it helped to understand the structure of the configuration 😎
In general this also helps to configure NATS Stream Consumers, which could be defined in
config.toml
in the future (later we want them to be created dynamically).Summary:
This PR enhances
rhio
withconfig.toml
, logging setup, a NATS client, and removes unused features, updating several files for new configurations.Key points:
rhio
configuration withconfig.toml
for node addresses and endpoints.LOG_LEVEL
or-l
argument for verbosity inrhio/src/main.rs
.rhio/src/node.rs
.rhio/src/actor.rs
for configuration changes.rhio-ffi/src/config.rs
for new configuration structure.rhio-ffi/src/node.rs
for new configuration and node spawning.rhio/Cargo.toml
andrhio-ffi/Cargo.toml
.Generated with :heart: by ellipsis.dev