forked from dimfeld/promptbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
72 lines (65 loc) · 2.15 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 = "promptbox"
version = "0.3.1"
edition = "2021"
resolver = "2"
authors = ["Daniel Imfeld <dimfeld>"]
description = "A CLI tool for managing and executing LLM prompt templates"
readme = "README.md"
repository = "https://github.com/dimfeld/promptbox"
license = "MIT OR Apache-2.0"
categories = ["command-line-utilities", "template-engine"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
base64 = "0.21.5"
clap = { version = "4.4.7", features = ["derive", "env", "string"] }
dotenvy = "0.15.7"
error-stack = "0.4.1"
etcetera = "0.8.0"
fastrand = "2.0.1"
flume = "0.11.0"
imageinfo = "0.7.10"
itertools = "0.11.0"
minijinja = "1.0.10"
regex = "1.10.2"
serde = { version = "1.0.190", features = ["derive"] }
serde_json = "1.0.108"
tera = "1.19.1"
thiserror = "1.0.50"
tokenizers = { version = "0.15.0", features = [ "http" ] }
toml = "0.8.6"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
ureq = { version = "2.8.0", features = ["serde_json", "json"] }
[features]
default = []
# Enable tests that require a running ollama instance with specific models pulled.
test-ollama = []
[profile.release]
debug = 1
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.5.0"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = ["shell", "powershell", "npm", "homebrew"]
# A GitHub repo to push Homebrew formulas to
tap = "dimfeld/homebrew-tap"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-pc-windows-msvc"]
# The archive format to use for windows builds (defaults .zip)
windows-archive = ".tar.gz"
# The archive format to use for non-windows builds (defaults .tar.xz)
unix-archive = ".tar.gz"
# Publish jobs to run in CI
publish-jobs = ["homebrew"]
# Publish jobs to run in CI
pr-run-mode = "plan"
[dev-dependencies]
tempfile = "3.8.1"