kowainik / tomland

🏝 Bidirectional TOML serialization
https://kowainik.github.io/posts/2019-01-14-tomland
Mozilla Public License 2.0
120 stars 39 forks source link

Strip Prefix with DerivingVia TomlTable #322

Closed vrom911 closed 3 years ago

vrom911 commented 4 years ago

Currently, the prefix of data fields appears as it is in the TOML keys. Maybe we can add some newtype that could handle the stripping as well?

https://github.com/kowainik/tomland/pull/320#discussion_r427483318