Vetting the cargo
Vetting the cargo
Posted Jun 14, 2022 22:18 UTC (Tue) by Wol (subscriber, #4433)In reply to: Vetting the cargo by excors
Parent article: Vetting the cargo
So you would have a "recommended battery for strings", "recommended battery for arbitrary precision maths", etc etc. And batteries could be maintained, deprecated, whatever. Especially as Rust has this version stuff, you could easily continue using old batteries, but - importantly - you would know they were old batteries and not actively maintained.
And if you want to deprecate and get rid of an old battery, provided the functionality has been updated, you could create your new battery and update the old battery to be - as far as possible - just a shim for the new one.
Cheers,
Wol
