2023-06-05 12:02:10 +00:00
|
|
|
|
[package]
|
|
|
|
|
name = "HambiMap"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
authors = ["Gandalf <gandalfderbunte@riseup.net>"]
|
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
tokio = { version = "0.2", features = ["macros"] }
|
|
|
|
|
warp = "0.2"
|
2023-06-13 13:54:47 +00:00
|
|
|
|
sqlx =
|
|
|
|
|
ormx =
|
2023-06-05 12:02:10 +00:00
|
|
|
|
serde = {version = "1.0", features = ["derive"] }
|
|
|
|
|
serde_derive = "1.0"
|
|
|
|
|
serde_json = "1.0"
|
|
|
|
|
thiserror = "1.0"
|
|
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
|
|
|
|
|
|
# tokio is our async runtime, which we need to execute futures
|
|
|
|
|
# warp is our web framework
|
|
|
|
|
# mobc / mobc-postgres represents an asynchronous connection pool for our database connections
|
|
|
|
|
# serde is for serializing and deserializing objects (e.g., to/from JSON)
|
|
|
|
|
# thiserror is a utility library we’ll use for error handling
|
|
|
|
|
# chrono represents time and date utilities
|
|
|
|
|
|
|
|
|
|
# Questions: async vs sync
|
|
|
|
|
# which database to use?
|
2023-06-13 13:54:47 +00:00
|
|
|
|
# will probably substitute mobc* for sqlx and keep working with tokio.
|