cloudini 0.3.0

The cloudini point cloud compression library for Rust.
# 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.85"
name = "cloudini"
version = "0.3.0"
authors = ["Christopher Sieh <stelzo@steado.de>"]
build = "build.rs"
exclude = [
    ".cargo_vcs_info.json",
    ".forgejo/*",
    "target/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The cloudini point cloud compression library for Rust."
homepage = "https://lib.rs/crates/cloudini"
documentation = "https://docs.rs/cloudini"
readme = "README.md"
keywords = [
    "compression",
    "cloud",
    "robotics",
]
categories = [
    "science::robotics",
    "compression",
]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/stelzo/cloudini"

[features]
default = [
    "ros",
    "use_cpp",
]
parallel = ["dep:rayon"]
rkyv = [
    "dep:rkyv",
    "ros_pointcloud2?/rkyv",
]
ros = [
    "dep:ros_pointcloud2",
    "serde",
    "rkyv",
]
serde = [
    "dep:serde",
    "ros_pointcloud2?/serde",
]
use_cpp = []

[lib]
name = "cloudini"
path = "src/lib.rs"

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

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

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

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

[dependencies.lz4_flex]
version = "0.12"

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

[dependencies.rkyv]
version = "0.8"
optional = true

[dependencies.ros_pointcloud2]
version = "1.0.0-rc.3"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.zstd]
version = "0.13"

[dev-dependencies.bincode]
version = "1.3"

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

[dev-dependencies.serde_json]
version = "1.0"