# 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 = "cityjson"
version = "0.7.1"
authors = ["Balázs Dukai <balazs.dukai@3dgi.nl>"]
build = false
exclude = [
    "benches/",
    "tests/",
    "docs/",
    "bench_results/",
    ".github/",
    "profiling/",
    "tools/",
    "docker/",
    "justfile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Types and accessor methods for representing semantic 3D city models in Rust, implementing the CityJSON specifications."
readme = "README.md"
keywords = [
    "cityjson",
    "geospatial",
    "3d",
    "gis",
]
categories = ["data-structures"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/3DGI/cityjson-rs"

[package.metadata]
platform_support = "Portable across pointer widths; wider index conversions to usize may need explicit handling on 32-bit targets"

[package.metadata.docs.rs]
cargo-args = [
    "-Zunstable-options",
    "-Zrustdoc-scrape-examples",
]

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

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

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

[dependencies.num]
version = "0.4.3"

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

[dev-dependencies.dhat]
version = "0.3"

[dev-dependencies.proptest]
version = "1.11.0"

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

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

[profile.bench]
debug = 2
