cloudflare / foundations

Cloudflare's Rust service foundations library.
https://blog.cloudflare.com/introducing-foundations-our-open-source-rust-service-foundation-library
BSD 3-Clause "New" or "Revised" License
1.25k stars 51 forks source link

Add support for TOML #30

Open joebb97 opened 6 months ago

joebb97 commented 6 months ago

Discussion offline concluded that TOML support is possible and potentially beneficial to small applications.

The only hangup is exporting optional types into the generated config file. This will be solved via adding the serialized type as a comment below a line that has the docstring as a comment as well.

Using this issue to track progress on the feature

roby2014 commented 1 month ago

Any updates on this?