[package]
name = "olean-export"
version = "0.7.0"
authors = ["Stephen Diehl <stephen.m.diehl@gmail.com>"]
categories = ["mathematics", "parser-implementations", "command-line-utilities"]
documentation = "https://docs.rs/olean-export"
edition = "2021"
include = [
"src/**/*",
"examples/demo.rs",
"examples/Hello.lean",
"examples/Makefile",
"tests/**/*",
"README.md",
"CHANGELOG.md",
"LICENSE",
"Cargo.toml",
]
keywords = ["lean", "lean4", "olean", "theorem-prover", "kernel"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/sdiehl/olean-export"
description = "Optimized library for reading Lean .olean files directly emitting lean4export-compatible NDJSON for external kernel checkers."
[dependencies]
blake3 = "1.8.7"
clap = { version = "4.6.7", features = ["derive"] }
hashbrown = "0.17"
indicatif = "0.18.6"
itoa = "1.0.18"
malachite-nz = "0.6"
memmap2 = "0.9.11"
mimalloc = { version = "0.1.52", optional = true }
parking_lot = "0.13.0"
postcard = { version = "1.1.3", default-features = false, features = ["use-std"] }
rayon = "1.12.0"
rustc-hash = "2"
serde = { version = "1.0.229", features = ["derive"] }
serde_json = { version = "1.0.151", features = ["raw_value"] }
thiserror = "2"
xxhash-rust = { version = "0.8.19", features = ["xxh3"] }
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[features]
mimalloc = ["dep:mimalloc"]
[[example]]
name = "demo"
path = "examples/demo.rs"
[lints.rust]
unsafe_code = "deny"
missing_debug_implementations = "warn"
unreachable_pub = "warn"
rust_2018_idioms = { level = "warn", priority = -1 }
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
multiple_crate_versions = "allow"
[dev-dependencies]
insta = { version = "1.41", features = ["glob"] }
tempfile = "3.27.0"
[profile.release]
lto = "fat"
codegen-units = 1