mod entry; mod index; pub use entry::*; pub use index::*; /// All formats limit a single sitemap to 50,000 URLs. /// See [Build and submit a Sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap#sitemap-best-practices). pub const RECORD_LIMIT: usize = 50_000; /// All formats limit a single sitemap to 50MB (uncompressed). /// See [Build and submit a Sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap#sitemap-best-practices). pub const BYTE_LIMIT: usize = 52_428_800; /// De facto limit is of 2000 characters, but browsers (e.g. Chrome) support longer anchors. /// Used to prevent the missing newline vulnerability in text sitemaps. pub const URL_LEN_LIMIT: usize = 65_536;