generated from cabreraalex/svelte-flask-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
60 lines (53 loc) · 1.55 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
[package]
name = "lowband_portfolio"
version = "0.1.0"
edition = "2021"
[lib]
# We could use any path here, but we are following the community convention
# We could specify a library name using the `name` field. If unspecified,
# cargo will default to `package.name`, which is what we want.
path = "src/lib.rs"
# Notice the double square brackets: it's an array in TOML's syntax.
# We can only have one library in a project, but we can have multiple binaries!
# If you want to manage multiple libraries in the same repository
# have a look at the workspace feature - we'll cover it later on.
[[bin]]
path = "src/main.rs"
name = "lowband_portfolio"
[dependencies]
actix-files = "0.6.2"
actix-rt = "2.8.0"
actix-session = { version = "0.7.2", features = ["cookie-session", "redis-rs-session", "redis-actor-session"] }
actix-web = "4.3.1"
dotenv = "0.15.0"
env_logger = "0.10.0"
fast-math = "0.1.1"
lazy_static = "1.4.0"
openai_api_rust = "0.1.8"
rand = "0.8.5"
serde = {version = "^1.0.181", features = ["derive"]}
serde_derive = "^1.0.181"
tokio = { version = "1.29.1", features = ["full"]}
# For rsa:
serde_json = "1.0.96"
num-bigint = {version = "0.4.3", features = ["rand"]}
num-integer = "0.1.45"
num-traits = "0.2.15"
rayon = "1.7.0"
mime_guess = "2.0.4"
mime = "0.3.17"
config = "0.11"
# Using table-like toml syntax to avoid a super-long line!
[dependencies.sqlx]
version = "0.5.7"
default-features = false
features = [
"runtime-actix-rustls",
"macros",
"postgres",
"uuid",
"chrono",
"migrate"
]
[dev-dependencies]
reqwest = { version = "0.11", features = ["json"] }