[package]
edition = "2021"
rust-version = "1.56.0"
name = "metadata-gen"
version = "0.0.3"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A powerful Rust library for extracting, validating, and processing metadata in YAML, TOML, and JSON formats from any content or data file.
"""
homepage = "https://metadata-gen.com/"
documentation = "https://doc.metadata-gen.com/metadata_gen/"
readme = "README.md"
keywords = [
"metadata",
"yaml",
"toml",
"json",
"metadata-gen",
]
categories = [
"command-line-utilities",
"data-structures",
"text-processing",
"parsing",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sebastienrousseau/metadata-gen"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
advanced_parsing = []
default = []
[lib]
name = "metadata_gen"
path = "src/lib.rs"
[[example]]
name = "error_example"
path = "examples/error_example.rs"
[[example]]
name = "lib_example"
path = "examples/lib_example.rs"
[[example]]
name = "metadata_example"
path = "examples/metadata_example.rs"
[[example]]
name = "metatags_example"
path = "examples/metatags_example.rs"
[[example]]
name = "utils_example"
path = "examples/utils_example.rs"
[[test]]
name = "test_error"
path = "tests/test_error.rs"
[[test]]
name = "test_integration"
path = "tests/test_integration.rs"
[[test]]
name = "test_lib"
path = "tests/test_lib.rs"
[[test]]
name = "test_metadata"
path = "tests/test_metadata.rs"
[[test]]
name = "test_metatags"
path = "tests/test_metatags.rs"
[[test]]
name = "test_utils"
path = "tests/test_utils.rs"
[[bench]]
name = "metadata_benchmark"
path = "benches/metadata_benchmark.rs"
harness = false
[dependencies.anyhow]
version = "1.0"
[dependencies.dtt]
version = "0.0.9"
[dependencies.quick-xml]
version = "0.39"
[dependencies.regex]
version = "1.12"
[dependencies.scraper]
version = "0.23"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yml]
version = "0.0.12"
[dependencies.tempfile]
version = "3.27"
[dependencies.thiserror]
version = "2.0"
[dependencies.time]
version = "0.3"
features = ["parsing"]
[dependencies.tokio]
version = "1.50"
features = ["full"]
[dependencies.toml]
version = "0.8"
[dependencies.yaml-rust2]
version = "0.10"
[dev-dependencies.assert_fs]
version = "1.1"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[build-dependencies.version_check]
version = "0.9.4"
[profile.bench]
debug = 2
[profile.dev]
opt-level = 0
lto = false
codegen-units = 256
debug = 2
debug-assertions = true
rpath = false
panic = "unwind"
overflow-checks = true
incremental = true
strip = false
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
panic = "abort"
overflow-checks = false
incremental = false
strip = "symbols"
[profile.test]
opt-level = 0
lto = false
codegen-units = 256
debug = 2
debug-assertions = true
rpath = false
overflow-checks = true
incremental = true
strip = false