Follow

Realized this week that 's (or rather Cargo's) "feature" concept makes it a lot less problematic to write frameworks. Notably (imo) frameworks need to be cohesive but also a la cart. With features letting me control dependencies as well as preprocessing the code, I can make mistakes in what is included in the framework and users don't have to pay for them if I wrap them in a feature.

This came up in thinking about having a service framework at my dayjob to make rust service spinup easier.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon.ART

Mastodon.ART — Your friendly creative home on the Fediverse! Interact with friends and discover new ones, all on a platform that is community-owned and ad-free. Admin: @Curator. Currently active moderators: @ScribbleAddict, @TapiocaPearl, @Otherbuttons, @Eyeling, @ljwrites