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