Using Scarb as a library deprecated
Scarb crate is scheduled for deprecation in unspecified future. It is advised not to use it in new projects.
The combination of calling scarb command with the
--json flag, and the
scarb metadata command should cover all use cases for communicating with Scarb from outside world.
Scarb is not being published to crates.io anymore. Use Scarb via Git reference in your
This crate serves as an API for writing custom extensions for Scarb. It is not recommended to link to Scarb in regular unrelated applications, for this it is preferred to interact with Scarb binary.