Crate webfinger[][src]

A crate to help you fetch and serve WebFinger resources.

Use resolve to fetch remote resources, and Resolver to serve your own resources.

Structs

Link

Structure to represent a WebFinger link

Webfinger

WebFinger result that may serialized or deserialized to JSON

Enums

ResolverError

An error that occured while handling an incoming WebFinger request.

WebfingerError

An error that occured while fetching a WebFinger resource.

Traits

Resolver

A trait to easily generate a WebFinger endpoint for any resource repository.

Functions

resolve

Fetches a WebFinger resource, identified by the acct parameter, an acct: URI.

url_for_acct

Computes the URL to fetch for an acct: URI.