cityjson-lib 0.6.0

High-level CityJSON 2.0 read/write facade integrating JSON I/O
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.93"
name = "cityjson-lib"
version = "0.6.0"
build = false
include = [
    "/src",
    "/examples",
    "/tests",
    "/docs",
    "/resources",
    "/Cargo.toml",
    "/README.md",
    "/LICENSE",
    "/LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level CityJSON 2.0 read/write facade integrating JSON I/O"
readme = "README.md"
keywords = [
    "cityjson",
    "geospatial",
    "3d",
    "gis",
]
categories = [
    "encoding",
    "science::geo",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/3DGI/cityjson-lib"
resolver = "2"

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

[features]
arrow = [
    "json",
    "dep:cityjson-arrow",
]
default = ["json"]
json = ["dep:cityjson-json"]
parquet = [
    "json",
    "dep:cityjson-arrow",
    "dep:cityjson-parquet",
]

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.cityjson]
version = "0.7.1"

[dependencies.cityjson-arrow]
version = "0.6.1"
optional = true

[dependencies.cityjson-json]
version = "0.7.2"
optional = true

[dependencies.cityjson-parquet]
version = "0.5.3"
optional = true

[dev-dependencies.criterion]
version = "0.7"

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

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

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

[dev-dependencies.tempfile]
version = "3.23"