Docs.rs
cmd-usage-0.7.20
cmd-usage 0.7.20
Docs.rs crate page
MIT
19 October 2026
Links
Repository
crates.io
Source
Owners
JeffreyJYZ
Dependencies
cmduse-core ^2
normal
lexopt ^0.3
normal
rusqlite ^0.40
normal
serde ^1
normal
serde_json ^1
normal
ureq ^2
normal
tempfile ^3
dev
Versions
37.67%
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 api
cmd_
usage
0.7.20
Module api
Module Items
Structs
Enums
Constants
Functions
In cmd_
usage::
arkuse
cmd_usage
::
arkuse
Module
api
Copy item path
Source
Structs
§
Meter
Usage
Enums
§
Unavailable
Constants
§
CLI_
TIMEOUT_
SECS
Hard cap on one
arkcli
call. The control plane answers in ~2s; anything past this is a hang, and the frame must repaint with the local estimate.
Functions
§
fetch
Ask the control plane for the plan’s meters.
parse_
instant
Parse an ISO-8601 instant with a numeric offset (
2026-10-20T00:24:37+08:00
) into epoch ms plus the offset in seconds east of UTC.
resolve
Resolve the profile to query:
--profile
, then
$ARKUSE_PROFILE
, then the first
agent-plan
profile arkcli lists. Also returns that profile’s tier, which is the default for
--plan
.