| 1 | [package] |
| 2 | name = "g1t-api" |
| 3 | version = "0.1.0" |
| 4 | edition.workspace = true |
| 5 | license.workspace = true |
| 6 | description = "The REST API and MCP server." |
| 7 | |
| 8 | [lib] |
| 9 | crate-type = ["cdylib"] |
| 10 | |
| 11 | [dependencies] |
| 12 | g1t-contracts.workspace = true |
| 13 | g1t-kit.workspace = true |
| 14 | serde.workspace = true |
| 15 | serde_json = { workspace = true, features = ["preserve_order"] } |
| 16 | worker.workspace = true |
| 17 | base64 = "0.22" |
| 18 | form_urlencoded = "1" |
| 19 | |
| 20 | # wasm-opt at -O1: about the same gzipped size as -O in a tenth of the |
| 21 | # time (docs/DEPLOYING.md, "Build speed"). |
| 22 | [package.metadata.wasm-pack.profile.release] |
| 23 | wasm-opt = ["-O1"] |