-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
35 lines (31 loc) · 824 Bytes
/
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
[package]
authors = ["Michael S. Huang <[email protected]>"]
description = "Command line utility for generating content files via Tera template and OpenAI Completion API"
edition = "2021"
license = "MIT"
name = "tera-writer"
readme = "README.md"
version = "0.1.3"
[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive", "env", "unicode", "cargo"] }
env_logger = "0.9"
gcra = { version = "=0.3.2", features = [] }
lazy_static = "1.4.0"
log = "0.4"
openai-api = { version = "0.1.5", features = ['sync'], path="../openai-api-rust" }
regex = "1"
serde = "1.0"
serde_json = { version = "1.0", optional = false }
tera = "1.17"
[dev-dependencies]
assert_cmd = "2.0"
predicates = "2.1"
[[bin]]
name = "teraw"
path = "src/main.rs"
[profile.release]
codegen-units = 1
lto = true
opt-level = "z"
panic = "abort"