Docs.rs
git-trailers-0.1.0
git-trailers 0.1.0
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
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Crate git_trailers
Version 0.1.0
All Items
Modules
Structs
Enums
Traits
Functions
?
Crate
git_trailers
source
·
[
−
]
Modules
parser
Structs
Display
DisplayMany
OwnedToken
OwnedTrailer
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
InvalidToken
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.