# 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-lang-casm"
version = "2.18.0-rc.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cairo assembly encoding."
readme = false
license-file = "LICENSE"
repository = "https://github.com/starkware-libs/cairo/"
resolver = "2"

[features]
default = ["std"]
parity-scale-codec = [
    "cairo-lang-utils/parity-scale-codec",
    "dep:parity-scale-codec",
]
schemars = [
    "cairo-lang-utils/schemars",
    "dep:schemars",
    "std",
]
serde = [
    "cairo-lang-utils/serde",
    "dep:serde",
]
std = [
    "cairo-lang-utils/std",
    "num-bigint/std",
    "num-traits/std",
    "parity-scale-codec?/std",
    "serde?/std",
]

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

[dependencies.cairo-lang-utils]
version = "=2.18.0-rc.0"
default-features = false

[dependencies.indoc]
version = "2.0.6"

[dependencies.num-bigint]
version = "0.4.6"
default-features = false

[dependencies.num-traits]
version = "0.2.19"
default-features = false

[dependencies.parity-scale-codec]
version = "3.7.5"
features = ["derive"]
optional = true
default-features = false

[dependencies.schemars]
version = "1.0.4"
optional = true

[dependencies.serde]
version = "1.0.219"
features = [
    "derive",
    "rc",
]
optional = true
default-features = false

[dev-dependencies.itertools]
version = "0.14.0"
default-features = true

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.test-case]
version = "3.3.1"

[dev-dependencies.tracing]
version = "0.1.40"
