-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
74 lines (64 loc) · 1.94 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
73
74
[workspace]
members = [".", "entity", "migration"]
resolver = "2"
[workspace.dependencies]
entity = { path = "entity" }
migration = { path = "migration" }
async-trait = "0.1"
tracing = "0.1"
tracing-subscriber = "0.3"
miette = { version = "7.0", features = ["fancy"] }
semver = "1.0"
chrono = "0.4"
serde = "1.0"
toml = "0.8"
uuid = "1.7"
lazy_static = "1.4"
tokio = { version = "1.35", features = ["macros", "rt", "time"] }
sea-orm = { version = "0.12", features = ["sqlx-mysql", "runtime-tokio-rustls", "macros", "debug-print", "with-chrono", "with-uuid"] }
async-openai = { version = "0.23", default-features = false, features = ["rustls-webpki-roots"] }
envconfig = "0.10"
poise = "0.6"
regex = "1.10"
tera = "1"
rand = "0.8"
humantime = "2.1"
[package]
name = "cheapt"
description = "OpenAI based chat bot for discord. Plain and simple. Requires OpenAI API key."
repository = "https://github.com/chrisliebaer/cheapt"
version = "0.1.0"
keywords = ["discord", "chat", "bot", "openai"]
edition = "2021"
license = "MIT"
categories = ["games"]
publish = false
[dependencies]
entity.workspace = true
migration.workspace = true
async-trait.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
miette.workspace = true
semver.workspace = true
chrono.workspace = true
serde.workspace = true
toml.workspace = true
uuid.workspace = true
lazy_static.workspace = true
tokio.workspace = true
sea-orm.workspace = true
async-openai.workspace = true
envconfig.workspace = true
poise.workspace = true
regex.workspace = true
tera.workspace = true
rand.workspace = true
humantime.workspace = true
log = "0.4.20"
[dev-dependencies]
ctor = "0.2"
sea-orm = { version = "0.12", features = ["sqlx-mysql", "runtime-tokio-rustls", "macros", "debug-print", "with-chrono", "with-uuid", "mock"] }
# poise uses serenity 0.12.2, which is currently broken, we need to use 0.12.1 for now
[patch.crates-io]
serenity = { git = "https://github.com/serenity-rs/serenity", tag = "v0.12.1" }