49 lines
879 B
TOML
49 lines
879 B
TOML
[package]
|
|
name = "fej"
|
|
version = "1.0.2"
|
|
authors = ["Jef Roosens <roosensjef@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
# Enables hosting of the frontend
|
|
frontend = []
|
|
|
|
[lib]
|
|
name = "fej"
|
|
path = "src/fej/lib.rs"
|
|
test = true
|
|
bench = true
|
|
doc = true
|
|
doctest = true
|
|
|
|
[[bin]]
|
|
name = "server"
|
|
path = "src/server/main.rs"
|
|
test = true
|
|
bench = true
|
|
doc = true
|
|
doctest = true
|
|
|
|
[[bin]]
|
|
name = "populate_ivago"
|
|
path = "src/populate_ivago.rs"
|
|
test = false
|
|
bench = false
|
|
doc = false
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
rocket = "0.4.7"
|
|
serde = "1.0.125"
|
|
chrono = "0.4.19"
|
|
chrono-tz = "0.5.3"
|
|
regex = "1.5.3"
|
|
reqwest = { version = "0.11.3", features = ["blocking", "json", "cookies"] }
|
|
diesel = { version = "1.4.6", features = ["postgres"] }
|
|
diesel_migrations = "1.4.0"
|
|
|
|
[dependencies.rocket_contrib]
|
|
version = "0.4.7"
|
|
default-features = false
|
|
features = ["json", "diesel_postgres_pool", "serve"]
|