#cairo #shared #script #project #mansion

build cairo-toolchain-xtasks

Build scripts shared between all Cairo Toolchain projects maintained by Software Mansion

8 stable releases

Uses new Rust 2024

1.3.1 Sep 9, 2025
1.3.0 Aug 6, 2025
1.2.2 Mar 20, 2025
1.2.1 Feb 25, 2025
1.1.0 Dec 17, 2024

#164 in Build Utils

Download history 747/week @ 2025-08-27 700/week @ 2025-09-03 1225/week @ 2025-09-10 864/week @ 2025-09-17 598/week @ 2025-09-24 800/week @ 2025-10-01 599/week @ 2025-10-08 715/week @ 2025-10-15 567/week @ 2025-10-22 828/week @ 2025-10-29 649/week @ 2025-11-05 606/week @ 2025-11-12 1081/week @ 2025-11-19 729/week @ 2025-11-26 672/week @ 2025-12-03 1298/week @ 2025-12-10

3,852 downloads per month

MIT license

17KB
310 lines

cairo-toolchain-xtasks

Build scripts that are shared between all Cairo Toolchain projects of Software Mansion.

Usage

We release this crate to crates.io. Put this crate as a dependency in your xtask/Cargo.toml:

[dependencies]
cairo-toolchain-xtasks = "1"

Using major-specific version spec helps Dependabot pick up new versions. For further details, copy-paste the logic from other projects, like Scarb or CairoLS.

Development

Try as much as possible to not break existing workflows anywhere. Follow semantic versioning. Ideally, it'd be the best for this crate to always be backwards-compatible and stay on 1 major version number.

To ship your changes, just cargo publish a new release to crates.io. Then make sure the project of your interest Cargo.lock points to the new release. No need to update other projects, Dependabot will do this job for you sometime in the future.

Adding a new toolchain project

If you're working on a new Cairo Toolchain project, make sure you add all necessary information in src/upgrade.rs xtask.

Dependencies

~2.2–3MB
~56K SLoC