AccountsDb plugin for transactions -- part 4 -- persisting to the Db. 1. DB models for transactions 2. Rust models for transactions 3. Transform from SDK models to rust db models 4. Unit tests
40 lines
1.4 KiB
TOML
40 lines
1.4 KiB
TOML
[package]
|
|
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
|
|
edition = "2021"
|
|
name = "solana-accountsdb-plugin-postgres"
|
|
description = "The Solana AccountsDb plugin for PostgreSQL database."
|
|
version = "1.9.0"
|
|
repository = "https://github.com/solana-labs/solana"
|
|
license = "Apache-2.0"
|
|
homepage = "https://solana.com/"
|
|
documentation = "https://docs.rs/solana-validator"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
bs58 = "0.4.0"
|
|
chrono = { version = "0.4.11", features = ["serde"] }
|
|
crossbeam-channel = "0.5"
|
|
log = "0.4.14"
|
|
postgres = { version = "0.19.2", features = ["with-chrono-0_4"] }
|
|
postgres-types = { version = "0.2.2", features = ["derive"] }
|
|
serde = "1.0.130"
|
|
serde_derive = "1.0.103"
|
|
serde_json = "1.0.72"
|
|
solana-accountsdb-plugin-interface = { path = "../accountsdb-plugin-interface", version = "=1.9.0" }
|
|
solana-logger = { path = "../logger", version = "=1.9.0" }
|
|
solana-measure = { path = "../measure", version = "=1.9.0" }
|
|
solana-metrics = { path = "../metrics", version = "=1.9.0" }
|
|
solana-runtime = { path = "../runtime", version = "=1.9.0" }
|
|
solana-sdk = { path = "../sdk", version = "=1.9.0" }
|
|
solana-transaction-status = { path = "../transaction-status", version = "=1.9.0" }
|
|
thiserror = "1.0.30"
|
|
tokio-postgres = "0.7.4"
|
|
|
|
[dev-dependencies]
|
|
solana-account-decoder = { path = "../account-decoder", version = "=1.9.0" }
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|