# 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 = "sitemap-gen" version = "0.0.1" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = """ A robust Rust library designed for efficient generation and optimization of sitemaps, supporting various formats and customizations. """ homepage = "https://sitemap-gen.co/" documentation = "https://doc.sitemap-gen.co/sitemap_gen/" readme = "README.md" keywords = [ "html", "web_development", "seo", "html-generator", ] categories = [ "web-programming", "command-line-utilities", "data-structures", "parsing", "development-tools", ] license = "MIT OR Apache-2.0" repository = "https://github.com/sebastienrousseau/sitemap-gen" [package.metadata.clippy] warn-lints = [ "clippy::all", "clippy::pedantic", "clippy::cargo", "clippy::nursery", ] [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] targets = ["x86_64-unknown-linux-gnu"] [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 = "s" 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 [lib] name = "sitemap_gen" path = "src/lib.rs" [[bin]] name = "sitemap-gen" path = "src/main.rs" [[example]] name = "error_example" path = "examples/error_example.rs" [[example]] name = "lib_example" path = "examples/lib_example.rs" [[example]] name = "main_example" path = "examples/main_example.rs" [[example]] name = "sitemap_example" path = "examples/sitemap_example.rs" [[example]] name = "utils_example" path = "examples/utils_example.rs" [[test]] name = "integration_tests" path = "tests/integration_tests.rs" [[bench]] name = "sitemap_benchmark" path = "benches/sitemap_benchmark.rs" harness = false [dependencies.clap] version = "4.5" [dependencies.dtt] version = "0.0.8" [dependencies.env_logger] version = "0.11" [dependencies.html-generator] version = "0.0.1" [dependencies.indicatif] version = "0.17" [dependencies.lazy_static] version = "1.5" [dependencies.log] version = "0.4" [dependencies.regex] version = "1.11" [dependencies.scraper] version = "0.20" [dependencies.tempfile] version = "3.13" [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3" [dependencies.tokio] version = "1.40" [dependencies.url] version = "2.5" [dependencies.xml-rs] version = "0.8" [dev-dependencies.assert_fs] version = "1.1" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.predicates] version = "3.1" [dev-dependencies.pretty_assertions] version = "1.4" [build-dependencies.version_check] version = "0.9" [features] async = [] default = [] [lints.rust] bare_trait_objects = "allow" dead_code = "deny" deprecated_in_future = "deny" elided_lifetimes_in_paths = "allow" ellipsis_inclusive_range_patterns = "deny" explicit_outlives_requirements = "deny" macro_use_extern_crate = "deny" meta_variable_misuse = "deny" missing_copy_implementations = "warn" missing_debug_implementations = "forbid" missing_docs = "warn" missing_fragment_specifier = "deny" non_ascii_idents = "forbid" non_camel_case_types = "allow" non_upper_case_globals = "allow" noop_method_call = "deny" single_use_lifetimes = "deny" trivial_bounds = "allow" trivial_casts = "deny" trivial_numeric_casts = "deny" unreachable_pub = "forbid" unsafe_code = "allow" unstable_features = "warn" unused_extern_crates = "warn" unused_features = "deny" unused_import_braces = "deny" unused_labels = "deny" unused_lifetimes = "deny" unused_macro_rules = "deny" unused_qualifications = "deny" unused_results = "warn" variant_size_differences = "deny" [lints.rust.future_incompatible] level = "deny" priority = -1 [lints.rust.keyword_idents] level = "deny" priority = -1 [lints.rust.rust_2018_idioms] level = "deny" priority = -1 [lints.rust.rust_2021_compatibility] level = "deny" priority = -1 [lints.rust.unused] level = "deny" priority = -1