docs.rs failed to build csusage-adapter-goose-0.0.1
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.
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-adapter-goose
The Goose adapter: it turns the Goose SQLite session database into the usage entries the reports render.
Owns
loader.rs— reading the source, dedupe, and date filtering.parser.rs— raw record parsing, token mapping, and model naming.paths.rs— environment variables, default directories, and file discovery.report.rs— the JSON and table shapes where they differ from the shared ones.
Anything that is not specific to this source belongs in ccusage-core or
ccusage-adapter-common instead.
Data source
${GOOSE_PATH_ROOT}/data/sessions/sessions.db, or~/.local/share/goose/sessions/sessions.dband~/.local/share/Block/goose/sessions/sessions.db
Reads SQLite with the bundled sqlite crate, which is why this crate declares it and
most adapters do not.
Public surface
loader::load_entriesreport::report_from_rowsreport::summarize_entriesrun
Depends on
ccusage-adapter-commonccusage-corejiffserdeserde_jsonsqlite
Build layer
Built in the adapters Crane artifact layer; the layer compiles all adapters in one Cargo invocation, so they build concurrently.