view Cargo.toml @ 36:0c5f8caf6736

Implement geoip lookups
author Lewin Bormann <lbo@spheniscida.de>
date Sat, 16 Jul 2022 10:45:58 -0700
parents 25439f8c9114
children 2a7b358c2710
line wrap: on
line source

[package]
name = "analyrics"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.58"
either = "1.7.0"
env_logger = "0.9.0"
log = "0.4.17"
rocket = { version = "0.5.0-rc.2", features = ["secrets", "json"] }
sqlx = { version = "0.5", features = ["macros"] }
rocket_db_pools = { version = "0.1.0-rc.2", features = [ "sqlx_macros"] }
rocket_dyn_templates = { version = "0.1.0-rc.2", features = ["handlebars"] }
sha256 = "1.0.3"
time = { version = "0.3.11", features = ["serde", "serde-well-known"] }
tokio = { version = "1.19.2", features = ["fs"] }
maxminddb = "0.23.0"

[features]
default = ["sqlite"]
sqlite = ["rocket_db_pools/sqlx_sqlite"]
postgres = ["rocket_db_pools/sqlx_postgres"]

[workspace]
members = ["usertool"]