Docs.rs
ai-chain-cli-0.1.3
ai-chain-cli 0.1.3
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
brainRottedCoder
Dependencies
anyhow ^1
normal
chrono ^0.4
normal
clap ^4
normal
crossterm ^0.28
normal
ratatui ^0.29
normal
rusqlite ^0.38
normal
serde ^1
normal
serde_json ^1
normal
unicode-width ^0.2
normal
arbitrary ^1
dev
proptest ^1
dev
tempfile ^3
dev
Versions
5.81%
of the crate is documented
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 utils
ai_
chain
0.1.3
Module utils
Module Items
Functions
In crate ai_
chain
ai_chain
Module
utils
Copy item path
Source
Functions
§
truncate
Truncate a string to a maximum number of characters, adding “…” if truncated. Handles Unicode correctly by counting characters, not bytes.