olean-export 0.3.0

Optimized library for reading Lean .olean files directly emitting lean4export-compatible NDJSON for external kernel checkers.
Documentation
# 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 = "olean-export"
version = "0.3.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."
homepage = "https://github.com/sdiehl/olean-export"
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 = "snapshots"
path = "tests/snapshots.rs"

[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.memmap2]
version = "0.9.11"

[dependencies.mimalloc]
version = "0.1.52"
optional = true

[dependencies.parking_lot]
version = "0.12.5"

[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"]

[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