Structs§
- AllCrates
Config - Additional configurations for all crates.
- Project
Config - Cairo project config, including its file content and metadata about the file. This file is expected to be at a root of a crate and specify the crate name and location and of its dependency crates.
- Project
Config Content - Contents of a Cairo project config file.
Enums§
Constants§
Functions§
- check_
compiler_ path - Checks that the given path is a valid compiler path.
- get_
main_ crate_ ids_ from_ project - setup_
project - Setup the ‘db’ to compile the project in the given path. The path can be either a directory with cairo project file or a .cairo file. Returns the ids of the project crates.
- setup_
single_ file_ project - Setup to ‘db’ to compile the file at the given path. Returns the id of the generated crate.
- update_
crate_ root - Updates a single crate root from a ProjectConfig. If the crate defines settings in the config, it will be used. Crate is identified by name and the root directory.
- update_
crate_ roots_ from_ project_ config - Updates the crate roots from a ProjectConfig object.