Docs.rs
roff-cli-0.1.0
roff-cli 0.1.0
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
edwinjhlee
Dependencies
serde_json ^1
normal
Versions
40%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
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
Skip to main content
Crate roff
roff
0.1.0
All Items
Crate Items
Functions
Crate
roff
Copy item path
Source
Functions
§
parse_
to_
json
将 man 文档内容解析为 JSON Value 这是核心解析函数,逐行处理 roff macro
parse_
to_
string
read_
to_
string_
lossy
读取文件内容,使用 lossy 方式处理 UTF-8(用于处理 mac 目录的 ISO-8859 编码文件)
to_
markdown