verbose mysql logs

This commit is contained in:
Bryan Stitt 2022-07-26 04:58:37 +00:00
parent 4cb65b0fa4
commit 413c8d86d3
2 changed files with 5 additions and 5 deletions

@ -6,7 +6,7 @@ CREATE TABLE users (
email VARCHAR(320),
)
-- TODO: foreign key
-- TODO: foreign keys
-- TODO: how should we store addresses?
-- TODO: creation time?
-- TODO: permissions. likely similar to infura
@ -27,7 +27,7 @@ CREATE TABLE blocklist (
reason TEXT,
)
-- TODO: foreign key
-- TODO: foreign keys
-- TODO: index on api_key
-- TODO: what size for api_key
-- TODO: track active with a timestamp?

@ -7,9 +7,9 @@ default-run = "web3-proxy"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["deadlock_detection"]
default = ["deadlock_detection", "verbose_db"]
deadlock_detection = ["parking_lot/deadlock_detection"]
verbose = ["sea-orm/debug-print"]
verbose_db = ["sea-orm/debug-print"]
[dependencies]
redis-cell-client = { path = "../redis-cell-client" }
@ -42,7 +42,7 @@ regex = "1.6.0"
reqwest = { version = "0.11.11", default-features = false, features = ["json", "tokio-rustls"] }
rustc-hash = "1.1.0"
# siwe = "0.4.0" # blocked by https://github.com/spruceid/siwe-rs/issues/36
sea-orm = { version = "0.9.1", features = [ "macros" ] }
sea-orm = { version = "0.9.1", features = ["macros"] }
serde = { version = "1.0.140", features = [] }
serde_json = { version = "1.0.82", default-features = false, features = ["alloc", "raw_value"] }
tokio = { version = "1.20.1", features = ["full", "tracing"] }