cairo-annotations 0.8.0

Structured annotations for Cairo
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "cairo-annotations"
version = "0.8.0"
authors = ["Software Mansion <contact@swmansion.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Structured annotations for Cairo"
readme = "README.md"
keywords = [
    "cairo-lang",
    "starknet",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/software-mansion/cairo-annotations"
resolver = "2"

[features]
cairo-lang = [
    "dep:cairo-lang-sierra-to-casm",
    "dep:cairo-lang-sierra",
]

[lib]
name = "cairo_annotations"
path = "src/lib.rs"

[[test]]
name = "mod"
path = "tests/mod.rs"

[dependencies.cairo-lang-sierra]
version = "2.17.0-rc.4"
optional = true

[dependencies.cairo-lang-sierra-to-casm]
version = "2.17.0-rc.4"
optional = true

[dependencies.cairo-lang-sierra-type-size]
version = "2.17.0-rc.4"

[dependencies.camino]
version = "1.2.2"
features = ["serde1"]

[dependencies.derive_more]
version = "2.1.1"
features = [
    "add",
    "add_assign",
    "mul",
    "mul_assign",
    "display",
]

[dependencies.regex]
version = "1.12"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.starknet-types-core]
version = "0.2.4"

[dependencies.strum]
version = "0.28"

[dependencies.strum_macros]
version = "0.28"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.assert_fs]
version = "1.1.3"

[dev-dependencies.snapbox]
version = "1.2.0"