foundry-rs / starknet-foundry

Blazing fast toolkit for developing Starknet contracts.
https://foundry-rs.github.io/starknet-foundry/
MIT License
279 stars 138 forks source link

`scarb-api` cannot parse rc versions #2258

Closed Arcticae closed 1 day ago

Arcticae commented 6 days ago

Which components does the task require to be changed? (think hard pls)

snforge

Description

It should be able to parse all of the weird shenanigans that are acceptable in semver (or cairo-ver if that's more appropriate term since we're operating on cairo versions here). https://github.com/foundry-rs/starknet-foundry/blob/ebe632bba6367c32bf2d1ec75a3fc1cb171540da/crates/scarb-api/src/version.rs#L34