[package]
edition = "2024"
rust-version = "1.93"
name = "cityjson-lib"
version = "0.5.2"
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]
default = ["json"]
json = ["dep:cityjson-json"]
[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-json]
version = "0.7.2"
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"