-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathCargo.toml
72 lines (54 loc) · 2.08 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
65
66
67
68
69
70
71
72
[package]
name = "conduit"
version = "0.1.0"
edition = "2021"
authors = ["Shun Namiki a.k.a Nash <[email protected]>"]
license = "MIT"
repository = "https://github.com/snamiki1212/realworld-rust-actix-web"
readme = "README.md"
description = "Realworld Application with Rust / actix-web / diesel."
[dependencies]
# Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust
actix-web = { version = "4.3" }
# A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL
diesel = { version = "2.1.0", features = [
"r2d2",
"postgres",
"chrono",
"uuid",
"serde_json",
] }
# Create and decode JWTs in a strongly typed way.
jsonwebtoken = { version = "8.3" }
# A generic serialization/deserialization framework
serde = { version = "1.0", features = ["derive"] }
# A JSON serialization file format
serde_json = { version = "1.0" }
# A `dotenv` implementation for Rust
dotenv = { version = "0.15" }
# Date and time library for Rust
chrono = { version = "0.4", features = ["serde"] }
# Easily hash and verify passwords using bcrypt
bcrypt = { version = "0.14.0" }
# A lightweight logging facade for Rust
log = { version = "0.4.17" }
# A logging implementation for `log` which is configured via an environment variable.
env_logger = { version = "0.10.0" }
# Flexible concrete Error type built on std::error::Error
anyhow = { version = "1.0" }
# derive(Error)
thiserror = { version = "1.0" }
# An implementation of futures and streams featuring zero allocations, composability, and itera…
futures = { version = "0.3" }
# Service trait and combinators for representing asynchronous request/response operati…
# actix-service = { version = "2" }
# Cross-Origin Resource Sharing (CORS) controls for Actix Web
actix-cors = { version = "0.6.4" }
# Convert strings into any case
convert_case = { version = "0.6.0" }
# A library to generate and parse UUIDs.
# Compatible version is here: https://github.com/diesel-rs/diesel/blob/master/diesel/Cargo.toml#L26
# uuid = { version = "0.8", features = ["serde", "v4"] }
[dependencies.uuid]
version = "1.3.3"
features = ["serde", "v4"]