readcon-core 0.4.0

An oxidized single and multiple CON file reader and writer with FFI bindings for ergonomic C/C++ usage.
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 = "2024"
rust-version = "1.88"
name = "readcon-core"
version = "0.4.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An oxidized single and multiple CON file reader and writer with FFI bindings for ergonomic C/C++ usage."
readme = "README.md"
keywords = [
    "Parser",
    "comp-chem",
    "file-format",
]
categories = [
    "filesystem",
    "parser-implementations",
    "science",
]
license = "MIT"
repository = "https://github.com/lode-org/readcon-core"

[features]
default = []
parallel = ["rayon"]
python = ["dep:pyo3"]
rpc = [
    "dep:capnp",
    "dep:capnp-rpc",
    "dep:capnpc",
    "dep:tokio",
    "dep:tokio-util",
    "dep:futures",
]

[lib]
name = "readcon_core"
crate-type = [
    "lib",
    "cdylib",
    "staticlib",
]
path = "src/lib.rs"

[[bin]]
name = "readcon-core"
path = "src/main.rs"

[[example]]
name = "rust_usage"
path = "examples/rust_usage.rs"

[[test]]
name = "convelwriter"
path = "tests/convelwriter.rs"

[[test]]
name = "conwriter"
path = "tests/conwriter.rs"

[[test]]
name = "parsecon"
path = "tests/parsecon.rs"

[[test]]
name = "parseconvel"
path = "tests/parseconvel.rs"

[[bench]]
name = "iterator_bench"
path = "benches/iterator_bench.rs"
harness = false

[dependencies.capnp]
version = "0.20"
optional = true

[dependencies.capnp-rpc]
version = "0.20"
optional = true

[dependencies.fast-float2]
version = "0.2"

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.memmap2]
version = "0.9"

[dependencies.pyo3]
version = "0.28"
features = ["extension-module"]
optional = true

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "net",
    "macros",
]
optional = true

[dependencies.tokio-util]
version = "0.7"
features = ["compat"]
optional = true

[dev-dependencies.cog]
version = "0.1.0"

[dev-dependencies.criterion]
version = "0.6.0"
features = ["html_reports"]

[build-dependencies.capnpc]
version = "0.20"
optional = true

[build-dependencies.cbindgen]
version = "0.29.0"

[profile.dist]
lto = "thin"
inherits = "release"