# 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.93"
name = "cityjson-arrow"
version = "0.10.0"
authors = ["Balázs Dukai <balazs.dukai@3dgi.nl>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Arrow IPC and Parquet transport for CityJSON 2.0 city models"
readme = "README.md"
keywords = [
    "cityjson",
    "arrow",
    "parquet",
    "geospatial",
    "3d",
]
categories = [
    "encoding",
    "science::geo",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/3DGI/cityjson"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
parquet = ["dep:parquet"]

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

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

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

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

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

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

[dependencies.arrow]
version = "58.1.0"
features = [
    "ipc",
    "csv",
    "json",
]

[dependencies.arrow-buffer]
version = "58.1.0"

[dependencies.arrow-json]
version = "58.1.0"

[dependencies.arrow-select]
version = "58.1.0"

[dependencies.bytes]
version = "1.10.1"

[dependencies.cityjson-types]
version = "0.10.0"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.memmap2]
version = "0.9.9"

[dependencies.nanoserde]
version = "0.2.1"
features = [
    "json",
    "std",
]

[dependencies.num-traits]
version = "0.2"

[dependencies.parquet]
version = "=58.1.0"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tempfile]
version = "3.23.0"

[dev-dependencies.cityjson-json]
version = "0.10.0"

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

[dev-dependencies.rand]
version = "0.10.1"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1
