mario-eth / soldeer

Solidity Package Manager written in rust
MIT License
188 stars 19 forks source link

Feature Request: To spin out `config` as a separate crate in the workspace #152

Open TilakMaddy opened 3 weeks ago

TilakMaddy commented 3 weeks ago

Detail

To package this file as a crate and expose public methods that allows other rust apps to add it as a dependency and use it for parsing soldeer.toml to get back a neat structure after applying all default values.

Example:

Similar to foundry's config crate

Interest

I'm looking to grab the remappings as a value from the soldeer.toml in cases where there is no actual remappings.txt file generated in a non-foundry project that uses soldeer as a package manager. (For foundry project, foundry's config crate helps get the remappings, so that's not an issue)

beeb commented 2 days ago

0.4.0 will be split into 3 crates, one of which is the soldeer-core crate which will expose all of the important data structures and logic to enable building on top of the tool.