Docs.rs
j-cli-12.1.20
j-cli 12.1.20
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
LingoJack
Dependencies
async-openai ^0.33
normal
chrono ^0.4
normal
clap ^4
normal
colored ^3
normal
cpal ^0.17
normal
crossterm ^0.28.0
normal
dirs ^6
normal
futures ^0.3
normal
hound ^3.5
normal
indicatif ^0.18.3
normal
libc ^0.2
normal
pulldown-cmark ^0.13.0
normal
ratatui ^0.29.0
normal
rustyline ^17.0.2
normal
serde ^1
normal
serde_json ^1
normal
serde_yaml ^0.9
normal
termimad ^0.34.1
normal
tokio ^1
normal
tui-textarea ^0.7
normal
unicode-width ^0.2
normal
url ^2
normal
whisper-rs ^0.15
normal
Versions
68.57%
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 highlight
j_cli
12.1.20
Module highlight
Module Items
Functions
In j_
cli::
command::
chat::
markdown
j_cli
::
command
::
chat
::
markdown
Module
highlight
Copy item path
Source
Functions
§
classify_
word
根据语言规则判断一个 word 应该使用哪种颜色样式
colorize_
tokens
将文本按照 word boundary 拆分并对关键字、数字、类型名、原始类型着色
highlight_
code_
line
简单的代码语法高亮(无需外部依赖) 根据语言类型对常见关键字、字符串、注释、数字进行着色