[package]
edition = "2021"
name = "risc0-core"
version = "3.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types for RISC Zero crates"
homepage = "https://risczero.com/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/risc0/risc0/"
[package.metadata.docs.rs]
rustdoc-args = [
"--cfg",
"docsrs",
]
all-features = true
[features]
perf = [
"dep:nvtx",
"dep:puffin",
]
std = []
[lib]
name = "risc0_core"
path = "src/lib.rs"
[dependencies.bytemuck]
version = "1.12"
features = ["derive"]
[dependencies.rand_core]
version = "0.9.3"
[dev-dependencies.rand]
version = "0.9.1"
features = ["small_rng"]
[target.'cfg(not(target_os = "zkvm"))'.dependencies.nvtx]
version = "1.3"
optional = true
[target.'cfg(not(target_os = "zkvm"))'.dependencies.puffin]
version = "0.19"
optional = true