-
Notifications
You must be signed in to change notification settings - Fork 84
/
Cargo.toml
64 lines (54 loc) · 1.96 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
authors = ["TatriX <[email protected]>"]
name = "realworld"
version = "0.6.0"
edition = "2021"
license = "Unlicense OR MIT"
homepage = "https://github.com/TatriX/realworld-rust-rocket"
repository = "https://github.com/TatriX/realworld-rust-rocket"
documentation = "https://github.com/TatriX/realworld-rust-rocket"
description = """
Rust / Rocket codebase containing real world examples (CRUD, auth, advanced patterns, etc)
that adheres to the RealWorld spec and API.
"""
readme = "README.md"
keywords = ["demo", "web", "realworld", "rocket"]
categories = ["web-programming"]
[badges]
travis-ci = { repository = "TatriX/realworld-rust-rocket" }
[dependencies]
rocket = { version = "0.5.0-rc.1", default-features = false, features = ["json"] }
rocket_cors = { version = "0.6.0-alpha1", default-features = false }
serde = { version = "1.0.133", features = ["derive"] }
serde_json = "1.0.75"
scrypt = { version = "0.8.1", default-features = true }
chrono = { version = "0.4.19", features = ["serde"] }
diesel = { version = "1.4.8", features = ["postgres", "chrono"] }
validator = "0.14.0"
validator_derive = "0.14.0"
slug = "0.1.4"
rand = "0.8.4"
dotenv = "0.15.0"
jsonwebtoken = "7.2.0"
[dependencies.rocket_sync_db_pools]
version = "0.1.0-rc.1"
default-features = false
features = ["diesel_postgres_pool"]
[dev-dependencies]
once_cell = "1.9.0"
[features]
default = ["random-suffix"]
# Enable generation of random suffix when making article slug. This
# allows having multiple articles with the same title.
random-suffix = []
[profile.dev.package."*"]
# Build dependencies with full release optimizations in debug builds.
# (Since they won't change often and probably do most of the heavy lifting)
opt-level = 3
[profile.dev]
# Build the project itself with just enough optimization to smooth out the
# most egregious of the abstractions which are only zero-cost when optimized
opt-level = 1
# Disable debug info in the binary to speed up builds
# Source: https://lemmy.ml/post/50089
debug = 0