use-seo 0.0.1

SEO and search snippet primitives for RustUse presence utilities
Documentation
  • Coverage
  • 92.73%
    51 out of 55 items documented1 out of 29 items with examples
  • Size
  • Source code size: 15.26 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 935.03 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 6s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-presence
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-seo

SEO and search snippet primitives for RustUse presence utilities.

Example

use use_seo::{IndexingHint, MetaDescription, PageIntent, SearchSnippetMetadata, SeoTitle};

let snippet = SearchSnippetMetadata::new(
    SeoTitle::new("Example Services").unwrap(),
    MetaDescription::new("Helpful service details for Example.").unwrap(),
)
.with_intent(PageIntent::Local)
.with_indexing_hint(IndexingHint::Index);

assert_eq!(snippet.intent(), PageIntent::Local);

Scope

  • Titles, meta descriptions, slug hints, indexing hints, link relation hints, page intent, and snippet metadata.
  • Lightweight validation and labels for composing external presence metadata.

Non-goals

  • Crawling, ranking, search engine clients, or SEO automation.
  • Full HTML document generation.

License

Licensed under either Apache-2.0 or MIT, at your option.