# 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 = "2021"
name = "stwo-cairo-common"
version = "1.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common types and utilities shared across Stwo Cairo crates"
readme = false
license = "Apache-2.0"
repository = "https://github.com/starkware-libs/stwo-cairo"

[features]
prover = [
    "stwo/parallel",
    "stwo/prover",
    "stwo-constraint-framework/parallel",
    "stwo-constraint-framework/prover",
]

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

[dependencies.bytemuck]
version = "1.20.0"
features = ["derive"]

[dependencies.itertools]
version = "0.12.0"

[dependencies.rayon]
version = "1.10.0"

[dependencies.ruint]
version = "1.12.3"

[dependencies.serde]
version = "1.0.219"

[dependencies.serde_arrays]
version = "0.1.0"

[dependencies.starknet-curve]
version = "0.6.0"

[dependencies.starknet-ff]
version = "0.3.7"

[dependencies.starknet-types-core]
version = "=0.2.4"
features = [
    "hash",
    "prime-bigint",
    "serde",
    "curve",
    "num-traits",
]

[dependencies.stwo]
version = "2.2.0"

[dependencies.stwo-cairo-serialize]
version = "~1.2.0"

[dependencies.stwo-constraint-framework]
version = "2.2.0"

[dev-dependencies.rand]
version = "0.8.5"
