openvm-platform 2.0.1

OpenVM Rust platform definitions.
# 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"
rust-version = "1.91.1"
name = "openvm-platform"
version = "2.0.1"
authors = ["OpenVM Authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenVM Rust platform definitions."
homepage = "https://openvm.dev"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/openvm-org/"

[package.metadata.docs.rs]
rustdoc-args = [
    "--cfg",
    "docsrs",
]
features = [
    "rust-runtime",
    "panic-handler",
    "export-libm",
    "export-pal-abi",
]

[features]
default = []
entrypoint = []
export-libm = ["dep:libm"]
heap-embedded-alloc = [
    "dep:critical-section",
    "dep:embedded-alloc",
    "rust-runtime",
]
panic-handler = []
rust-runtime = ["export-libm"]
std = []

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

[dependencies.openvm-custom-insn]
version = "2.0.1"
default-features = false

[dependencies.openvm-rv32im-guest]
version = "2.0.1"
default-features = false

[target.'cfg(target_os = "zkvm")'.dependencies.critical-section]
version = "1.1.2"
optional = true

[target.'cfg(target_os = "zkvm")'.dependencies.embedded-alloc]
version = "0.6.0"
features = ["allocator_api"]
optional = true

[target.'cfg(target_os = "zkvm")'.dependencies.libm]
version = "0.2"
optional = true