Docs.rs
destructive_command_guard-0.4.2
destructive_command_guard 0.4.2
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
Dicklesworthstone
Dependencies
aho-corasick ^1.1
normal
ast-grep-core ^0.40
normal
ast-grep-language ^0.40
normal
async-trait ^0.1.89
normal
base64 ^0.22
normal
chrono ^0.4
normal
clap ^4.5
normal
clap_complete ^4.5
normal
colored ^3.1
normal
comfy-table ^7.2
normal
console ^0.16
normal
ctrlc ^3.5.1
normal
dirs ^6.0
normal
fancy-regex ^0.17
normal
flate2 ^1.0
normal
fs2 ^0.4
normal
fsqlite ^0.1.1
normal
fsqlite-error ^0.1.1
normal
fsqlite-types ^0.1.1
normal
glob ^0.3
normal
hmac ^0.12
normal
indicatif ^0.18
normal
inquire ^0.9
normal
memchr ^2.7
normal
once_cell ^1.19
normal
rand ^0.10
normal
ratatui ^0.30
normal
rayon ^1.11
normal
optional
regex ^1.10
normal
rich_rust ^0.2.0
normal
optional
rust-mcp-sdk ^0.8.3
normal
self_update ^0.42
normal
semver ^1.0
normal
serde ^1.0
normal
serde_json ^1.0
normal
serde_yaml ^0.9
normal
sha2 ^0.10
normal
smallvec ^1.15.1
normal
tokio ^1.49
normal
toml ^1.0
normal
toml_edit ^0.25
normal
tracing ^0.1
normal
tracing-subscriber ^0.3
normal
assert_cmd ^2.0
dev
criterion ^0.8
dev
libc ^0.2
dev
predicates ^3.1
dev
proptest ^1.4
dev
regex-automata ^0.4
dev
tempfile ^3.14
dev
walkdir ^2.5
dev
which ^8.0
dev
vergen-gix ^10.0.0-beta.5
build
Versions
85.7%
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
terminal_width
destructive_
command_
guard
0.4.2
In destructive_
command_
guard::
output
destructive_command_guard
::
output
Function
terminal_
width
Copy item path
Source
pub fn terminal_width() ->
u16
Expand description
Returns the terminal width, or a default if not detectable.