Docs.rs
snapper-fmt-0.8.1
snapper-fmt 0.8.1
Docs.rs crate page
MIT
20 July 2026
Links
Homepage
Repository
crates.io
Source
Owners
HaoZeke
Dependencies
anyhow ^1
normal
clap ^4
normal
optional
clap-markdown ^0.1
normal
optional
ec4rs ^1
normal
optional
glob ^0.3
normal
optional
imara-diff ^0.2
normal
js-sys ^0.3
normal
optional
libloading ^0.8
normal
optional
nnsplit ^0.5
normal
optional
notify ^7
normal
optional
pandoc_ast ^0.8
normal
optional
rayon ^1
normal
optional
regex ^1
normal
rmcp ^1.2
normal
optional
schemars ^1.0
normal
optional
serde ^1
normal
serde-wasm-bindgen ^0.6
normal
optional
serde_json ^1
normal
sha2 ^0.10
normal
optional
tempfile ^3
normal
textwrap ^0.16
normal
thiserror ^2
normal
tokio ^1
normal
optional
toml ^0.8
normal
tower-lsp ^0.20
normal
optional
unicode-segmentation ^1
normal
wasm-bindgen ^0.2
normal
optional
criterion ^0.5
dev
pretty_assertions ^1
dev
proptest ^1
dev
tempfile ^3
dev
Versions
62.24%
of the crate is documented
Go to latest version
Platform
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
Module diff
snapper_
fmt
0.8.1
Module diff
Module Items
Functions
In crate snapper_
fmt
snapper_fmt
Module
diff
Copy item path
Source
Functions
§
print_
diff
Print a unified diff to stdout. No-op if texts are identical.
unified_
diff
Produce a unified diff between original and formatted text using imara-diff’s histogram algorithm (same as git’s default).