Docs.rs
git-trailers-0.1.0
git-trailers 0.1.0
Permalink
Docs.rs crate page
GPL-3.0-or-later
Links
crates.io
Source
Owners
FintanH
Dependencies
nom ^7.1
normal
thiserror ^1.0
normal
Versions
17.24%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
git_
trailers
0.1.0
All Items
Crate Items
Modules
Structs
Enums
Traits
Functions
Crate
git_trailers
Copy item path
Source
Modules
§
parser
Structs
§
Display
Display
Many
Owned
Token
Owned
Trailer
A version of the Trailer<’a> which owns it’s token and values. Useful for when you need to carry trailers around in a long lived data structure.
Token
Trailer
Enums
§
Error
Invalid
Token
Traits
§
Separator
Functions
§
display
Render a slice of trailers.
parse
Parse the trailers of the given message. It looks up the last paragraph of the message and attempts to parse each of its lines as a
Trailer
. Fails if no trailers paragraph is found or if at least one trailer fails to be parsed.