Module build

Source
Available on crate feature hs-service only.
Expand description

Building support for the network document meta-format

Implements building documents according to dir-spec.txt. section 1.2 and 1.3.

This facility processes output that complies with the meta-document format, (dir-spec.txt section 1.2) - unless raw methods are called with improper input.

However, no checks are done on keyword presence/absence, multiplicity, or ordering, so the output may not necessarily conform to the format of the particular intended document. It is the caller’s responsibility to call .item() in the right order, with the right keywords and arguments.

Macros§

impl_item_argument_as_display 🔒
Implement ItemArgument for $ty in terms of <$ty as Display>

Structs§

Cursor 🔒
Position within a (perhaps partially-) built document
ItemEncoder 🔒
Encoder for an individual item within a being-built document
NetdocEncoder 🔒
Encoder, representing a partially-built document.

Traits§

ItemArgument 🔒
Types that can be added as argument(s) to item keyword lines
NetdocBuilder
A trait for building and signing netdocs.