[package]
edition = "2024"
rust-version = "1.85"
name = "oxigdal-metadata"
version = "0.1.4"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Metadata standards support for OxiGDAL - ISO 19115, FGDC, INSPIRE, DataCite, DCAT"
homepage = "https://github.com/cool-japan/oxigdal"
documentation = "https://docs.rs/oxigdal-metadata"
readme = "README.md"
keywords = [
"metadata",
"science",
"iso19115",
"fgdc",
"inspire",
]
categories = [
"science",
"data-structures",
"parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxigdal"
resolver = "2"
[features]
default = ["std"]
stac = ["dep:oxigdal-stac"]
std = [
"thiserror/std",
"serde/std",
]
xml = ["dep:quick-xml"]
[lib]
name = "oxigdal_metadata"
path = "src/lib.rs"
[[test]]
name = "metadata_extended_test"
path = "tests/metadata_extended_test.rs"
[[test]]
name = "metadata_test"
path = "tests/metadata_test.rs"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"serde",
]
default-features = false
[dependencies.oxigdal-core]
version = "0.1.4"
[dependencies.oxigdal-stac]
version = "0.1.4"
features = ["std"]
optional = true
default-features = false
[dependencies.quick-xml]
version = "0.39"
features = ["serialize"]
optional = true
[dependencies.serde]
version = "1"
features = [
"derive",
"alloc",
]
default-features = false
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
default-features = false
[dependencies.url]
version = "2"
features = ["serde"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
expect_used = "warn"
manual_midpoint = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
panic = "deny"
similar_names = "allow"
suboptimal_flops = "allow"
unwrap_used = "deny"
[lints.rust]
missing_docs = "warn"
unsafe_code = "warn"