# 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"
name = "copc_converter"
version = "0.9.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "copc_converter"
description = "Fast, memory-efficient converter from LAS/LAZ to COPC (Cloud-Optimized Point Cloud)"
readme = "README.md"
keywords = [
    "copc",
    "las",
    "laz",
    "pointcloud",
    "lidar",
]
categories = [
    "command-line-utilities",
    "science::geo",
]
license = "MIT"
repository = "https://github.com/360-geo/copc-converter"

[features]
tools = [
    "dep:reqwest",
    "dep:tokio",
    "dep:copc-streaming",
    "dep:copc-temporal",
    "dep:futures",
]

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

[[bin]]
name = "copc_converter"
path = "src/main.rs"

[[bin]]
name = "inspect_copc"
path = "src/bin/inspect_copc.rs"
required-features = ["tools"]

[[bin]]
name = "preview_chunking"
path = "src/bin/preview_chunking.rs"
required-features = ["tools"]

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

[dependencies.anyhow]
version = "1"

[dependencies.byteorder]
version = "1.5"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.copc-streaming]
version = "0.1.5"
optional = true

[dependencies.copc-temporal]
version = "0.1.5"
optional = true

[dependencies.dashmap]
version = "6"

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

[dependencies.indicatif]
version = "0.18"

[dependencies.las]
version = "0.9"
features = ["laz-parallel"]

[dependencies.laz]
version = "0.12"
features = ["parallel"]

[dependencies.lz4_flex]
version = "0.13"
features = ["frame"]
default-features = false

[dependencies.mimalloc]
version = "0.1"

[dependencies.rayon]
version = "1.10"

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.byteorder]
version = "1.5"
