g1t/services/billing/Cargo.toml

26 lines706 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Agents as a team: lifecycle, merge queue, billing and a new shell1[package]
2name = "g1t-billing"
3version = "0.1.0"
4edition.workspace = true
5license.workspace = true
6description = "What agents cost, charged to the workspace they worked for."
7
8[lib]
9crate-type = ["cdylib"]
10
11[dependencies]
12g1t-contracts.workspace = true
13g1t-kit.workspace = true
14serde.workspace = true
15serde_json.workspace = true
16worker.workspace = true
Billing answers every page in a few round trips, not forty: its reads run together, Stripe is asked at most hourly, and the ledger has a time index17futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
Agents as a team: lifecycle, merge queue, billing and a new shell18getrandom = { version = "0.2", features = ["js"] }
19hex = "0.4"
20sha2 = "0.10"
Stripe webhooks, enterprise invoices, and sudo for both21hmac = "0.12"
Deploys as code: a manifest of every Worker, a deploy tool that ships only what changed in parallel stages, and a g1t Actions workflow22
23# wasm-opt at -O1: about the same gzipped size as -O in a tenth of the
24# time (docs/DEPLOYING.md, "Build speed").
25[package.metadata.wasm-pack.profile.release]
26wasm-opt = ["-O1"]