This repository has been archived on 2023-07-04. You can view files and clone it, but cannot push or open issues/pull-requests.
blog/Cargo.toml

49 lines
1.3 KiB
TOML
Raw Normal View History

2021-11-23 09:32:08 +01:00
[package]
name = "rb-blog"
version = "0.1.0"
edition = "2018"
[lib]
name = "rb_blog"
path = "src/lib.rs"
[[bin]]
name = "rb-blog"
path = "src/main.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2021-12-27 13:50:50 +01:00
rb = { git = "https://git.rustybever.be/rusty-bever/common-rs.git", tag = "0.1.0" }
2021-11-23 09:32:08 +01:00
# Backend web framework
rocket = { version = "0.5.0-rc.1", features = [ "json", "uuid" ] }
# Used to provide Rocket routes with database connections
rocket_sync_db_pools = { version = "0.1.0-rc.1", default_features = false, features = [ "diesel_postgres_pool" ] }
# Used to (de)serialize JSON
2021-12-26 13:01:10 +01:00
serde = { version = "1.0.132", features = [ "derive" ] }
2021-11-23 09:32:08 +01:00
# ORM
2021-12-26 18:01:07 +01:00
diesel = { version = "1.4.8", features = ["postgres", "uuidv07", "chrono"] }
2021-11-23 09:32:08 +01:00
diesel_migrations = "1.4.0"
2022-04-20 08:01:15 +02:00
uuid = { version = "1.0.0", features = ["serde"] }
2021-11-23 09:32:08 +01:00
chrono = { version = "*", features = [ "serde" ] }
# Reading in configuration files
figment = { version = "*", features = [ "yaml" ] }
2021-11-24 20:59:03 +01:00
[profile.dev]
lto = "off"
incremental = true
[profile.test]
lto = "off"
incremental = true
2021-11-24 20:59:03 +01:00
[profile.release]
lto = "fat"
codegen-units = 1
# For releases also try to max optimizations for dependencies:
[profile.release.build-override]
opt-level = 3
[profile.release.package."*"]
opt-level = 3