![Emily Toop](/assets/img/avatar_default.png)
Simplify. This has a watcher collect txid -> AttributeSet mappings each time a transact occurs. On commit we retrieve those mappings and hand them over to the observer service, which filters them and packages them up for dispatch. Tidy up
33 lines
587 B
TOML
33 lines
587 B
TOML
[package]
|
|
name = "mentat_db"
|
|
version = "0.0.1"
|
|
workspace = ".."
|
|
|
|
[dependencies]
|
|
error-chain = { git = "https://github.com/rnewman/error-chain", branch = "rnewman/sync" }
|
|
indexmap = "0.4"
|
|
itertools = "0.7"
|
|
lazy_static = "0.2"
|
|
num = "0.1"
|
|
ordered-float = "0.5"
|
|
time = "0.1"
|
|
|
|
[dependencies.rusqlite]
|
|
version = "0.13"
|
|
features = ["limits"]
|
|
|
|
[dependencies.edn]
|
|
path = "../edn"
|
|
|
|
[dependencies.mentat_core]
|
|
path = "../core"
|
|
|
|
[dependencies.mentat_tx]
|
|
path = "../tx"
|
|
|
|
[dependencies.mentat_tx_parser]
|
|
path = "../tx-parser"
|
|
|
|
# Should be dev-dependencies.
|
|
[dependencies.tabwriter]
|
|
version = "1.0.3"
|