| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- [package]
- name = "kuatia"
- description = "Append-only, auditable, multi-asset UTXO-style ledger: async resource and atomic commit engine."
- version.workspace = true
- edition.workspace = true
- rust-version.workspace = true
- license.workspace = true
- repository.workspace = true
- authors.workspace = true
- keywords.workspace = true
- categories.workspace = true
- [lints]
- workspace = true
- [features]
- default = []
- # The SQL backend, re-exported as `kuatia::sql` so a caller needs no second
- # crate. Off by default: an in-memory or custom store should not compile sqlx.
- sql = ["dep:kuatia-storage-sql"]
- sqlite = ["sql", "kuatia-storage-sql/sqlite"]
- postgres = ["sql", "kuatia-storage-sql/postgres"]
- # Bubble the i128 Cent backing up to the outermost crate. Enabling
- # `kuatia/i128` swaps the integer width across the whole dependency chain.
- i128 = [
- "kuatia-types/i128",
- "kuatia-core/i128",
- "kuatia-storage/i128",
- "kuatia-storage-sql?/i128",
- ]
- [dependencies]
- kuatia-types.workspace = true
- kuatia-core.workspace = true
- kuatia-storage.workspace = true
- kuatia-storage-sql = { workspace = true, optional = true }
- tokio = { workspace = true, features = ["sync", "rt", "macros"] }
- serde.workspace = true
- serde_json.workspace = true
- ciborium.workspace = true
- async-trait.workspace = true
- tracing.workspace = true
- [dev-dependencies]
- tokio = { workspace = true, features = ["full"] }
- # Listed explicitly because the SQLite-backed ones need the feature that
- # re-exports the backend, and naming any example turns autodiscovery off.
- [[example]]
- name = "quickstart"
- [[example]]
- name = "create_accounts"
- required-features = ["sqlite"]
- [[example]]
- name = "fund_and_trade"
- required-features = ["sqlite"]
- [[example]]
- name = "withdraw"
- required-features = ["sqlite"]
- [[example]]
- name = "overdraft"
- required-features = ["sqlite"]
- [[example]]
- name = "inflight_hold"
- required-features = ["sqlite"]
- [[example]]
- name = "escrow"
- required-features = ["sqlite"]
|