# 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 = "2021" rust-version = "1.56.0" name = "metadata-gen" version = "0.0.1" build = "build.rs" 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", ] [profile.bench] debug = 2 [profile.release] lto = true codegen-units = 1 panic = "abort" strip = true [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.8" [dependencies.quick-xml] version = "0.36" [dependencies.regex] version = "1.11" [dependencies.scraper] version = "0.20" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_yml] version = "0.0.12" [dependencies.tempfile] version = "3.13" [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3" features = ["parsing"] [dependencies.tokio] version = "1.40" features = ["full"] [dependencies.toml] version = "0.8" [dependencies.yaml-rust2] version = "0.9" [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" [features] advanced_parsing = [] default = []