mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-05-18 16:28:08 +00:00
0a4addc6bb
* Add chapter 5 * Basic deployment stuff * Fix Dockerfile. * Add an explicit connection timeout. * Align port with configuration. * Use debug for faster feedback loops. * Add address configuration. * Provision database. * Use structured options. * Add configuration * Fix typo. * Customise deserialization logic. * Change to Require. * Fix spec. * Add a few more things to the dockerignore file. * Update to match chapter. * Add base configuration. * Amend configuratiohn. Co-authored-by: LukeMathWalker <rust@lpalmieri.com>
35 lines
1,006 B
TOML
35 lines
1,006 B
TOML
[package]
|
|
name = "chapter05"
|
|
version = "0.1.0"
|
|
authors = ["LukeMathWalker <rust@lpalmieri.com>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
path = "src/main.rs"
|
|
name = "chapter05"
|
|
|
|
[dependencies]
|
|
actix-web = "3.0.0"
|
|
actix-rt = "1.1.1"
|
|
tokio = "0.2.22"
|
|
serde = "1.0.115"
|
|
config = { version = "0.10.1", default-features = false, features = ["yaml"] }
|
|
sqlx = { version = "0.4.0-beta.1", default-features = false, features = [ "runtime-tokio", "macros", "postgres", "uuid", "chrono", "migrate", "offline"] }
|
|
uuid = { version = "0.8.1", features = ["v4"] }
|
|
chrono = "0.4.15"
|
|
tracing = "0.1.19"
|
|
tracing-futures = "0.2.4"
|
|
tracing-subscriber = { version = "0.2.12", features = ["registry", "env-filter"] }
|
|
tracing-bunyan-formatter = "0.1.6"
|
|
tracing-log = "0.1.1"
|
|
tracing-actix-web = "0.2.0"
|
|
serde-aux = "1.0.1"
|
|
|
|
[dev-dependencies]
|
|
reqwest = { version = "0.10.7", features = ["json"] }
|
|
lazy_static = "1.4.0"
|