web3-proxy/web3_proxy/src/lib.rs
Bryan Stitt 0046a02a4a
Global db (#191)
* dont migrate on start. just connect

* it compiles

* that log is loud

* get transaction from a local clone

* import the trait

* put the test app into a thread instead of tokio::spawn

* fix one test

* try db before rpcs

* db connection is too slow. need to wait for it

* do db setup once while spawning
2023-07-14 18:30:01 -07:00

28 lines
513 B
Rust

#![feature(lazy_cell)]
#![feature(let_chains)]
#![feature(trait_alias)]
#![forbid(unsafe_code)]
pub mod admin_queries;
pub mod app;
pub mod balance;
pub mod block_number;
pub mod caches;
pub mod compute_units;
pub mod config;
pub mod errors;
pub mod frontend;
pub mod globals;
pub mod http_params;
pub mod jsonrpc;
pub mod pagerduty;
pub mod premium;
pub mod prometheus;
pub mod referral_code;
pub mod relational_db;
pub mod response_cache;
pub mod rpcs;
pub mod stats;
pub mod sub_commands;
pub mod user_token;