csusage-config 0.0.0

Coding agent CLI usage reports (ccusage fork with Claude Science support)
docs.rs failed to build csusage-config-0.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

ccusage-config

ccusage.json loading, validation, and the JSON Schema published for editors.

Owns

  • config.rs
  • config_schema.rs

Only the binary reads configuration, and the schema derives pull schemars in, so keeping both here means neither reaches the critical path of ccusage-core or any adapter. ccusage-cli-parser uses it as a dev-dependency, for the tests that assert how a parsed command line and a config file combine.

Public surface

  • config::ConfigContext
  • config_schema::generate_config_schema_json

Depends on

  • ccusage-cli
  • ccusage-core
  • schemars
  • serde
  • serde_json

Build layer

Outside the Crane artifact layers: it is compiled with the final binary, so editing it leaves the cached layers untouched.