#configuration #options #experiment #flight #manage #simplifies #getting

optify

Simplifies getting the right configuration options for a process using pre-loaded configurations from files (JSON, YAML, etc.) to manage options for experiments or flights. This library is mainly made to support building implementations for other languages such as Node.js, Python, and Ruby. It is not meant to be consumed directly yet.

2 unstable releases

0.4.0 Feb 18, 2025
0.1.0 Jan 29, 2025

#247 in Configuration

Download history 92/week @ 2025-01-24 42/week @ 2025-01-31 3/week @ 2025-02-07

137 downloads per month

MIT license

20KB
310 lines

Optify in Rust

Crates.io docs.rs

The core implementation of Optify in Rust. Simplifies getting the right configuration options for a process using pre-loaded configurations from files (JSON, YAML, etc.) to manage options for experiments or flights.

See tests for examples and tests for different implementations of this format for managing options.

See the root README.md for more information and examples.

⚠️ Development in progress ⚠️
APIs are not final and will change, for example, interfaces with be used. This is just meant to be minimal to get started and help build Python and Ruby libraries.

Testing

Run:

cargo test

Formatting

To automatically change code, run:

cargo fmt
cargo clippy --fix --allow-dirty --allow-staged

Publishing

cargo login
cargo publish

Dependencies

~4–11MB
~138K SLoC