Registry / utility / ellipse

ellipse

JSON →
library0.2.0rscratesunverified

Truncate and ellipse strings in a human-friendly way.

# Cargo.toml [dependencies] ellipse = "0.2.0"
INSTALL
IMPORT
SIG · ELLIPSE
E
ellipse
utilityrustv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Ellipse
use ellipse::Ellipse;

Truncate a string with an ellipsis.

use ellipse::Ellipse; fn main() { let s = "Hello, world!".truncate_ellipse(10); println!("{}", s); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
ellipse — cargo add ellipse · libregistry