[package] name = "database_queries" edition = "2018" version = "0.0.1" authors = [ "Brandon Thomas ", "Brandon Thomas ", ] publish = false [lib] name = "database_queries" path = "src/lib.rs" [dependencies] # Internal config = { path = "../config" } container_common = { path = "../container_common" } # External anyhow = "1.0.40" base64 = "0.13.0" chrono = { version = "0.4.19", features = ["serde"] } dotenv = "0.15.0" log = "0.4.14" # Needed to safety check some queries we can't use escaping for once_cell = "1.9.0" regex = "1.5.4" # Serialization serde = "1.0.125" serde_derive = "1.0.125" serde_json = "1.0.64" toml = "0.5.8" # MySql Database # "offline" supports typesafe builds without a live database # "rustls" doesn't appear to work with IP addresses, per: # https://github.com/launchbadge/sqlx/issues/1095#issuecomment-798050828 #sqlx = { version = "0.4", features = [ "mysql", "runtime-tokio-native-tls", "offline", "chrono" ] } sqlx = { version = "0.5", features = [ "mysql", "runtime-actix-native-tls", "offline", "chrono" ] }