-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (62 loc) · 1.76 KB
/
Copy pathCargo.toml
File metadata and controls
69 lines (62 loc) · 1.76 KB
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
# See: https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "asimov-openai-module"
version = "0.0.4"
authors = ["ASIMOV Community"]
edition = "2024"
#rust-version = "1.85"
description = "ASIMOV OpenAI module."
#documentation = "https://docs.rs/asimov-openai-module"
readme = true
homepage = "https://github.com/asimov-modules"
repository = "https://github.com/asimov-modules/asimov-openai-module"
license = "Unlicense"
keywords = ["asimov-module", "asimov", "ai"]
categories = ["command-line-utilities", "text-processing"] # TODO
publish = true
[features]
default = ["all", "cli", "std"]
all = ["pretty", "tracing"]
cli = [
"asimov-module/cli",
"asimov-module/serde",
"std",
"dep:clap",
"dep:clientele",
]
std = [
"anyhow/std",
"asimov-module/std",
"bon/std",
"clap?/std",
"clientele?/std",
"serde/std",
"serde_json/std",
]
unstable = []
# Optional features:
pretty = []
tracing = ["asimov-module/tracing", "clientele?/tracing"]
[dependencies]
anyhow = { version = "1.0", default-features = false }
asimov-module = { version = "25.0.0-dev.21", default-features = false }
bon = { version = "3.7.2", default-features = false, features = ["alloc"] }
serde = { version = "1.0", default-features = false, features = ["alloc"] }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
ureq = { version = "3.1", features = ["json"] }
# Optional integrations:
clap = { version = "4.5", default-features = false, features = [
"std",
], optional = true }
clientele = { version = "0.3.8", default-features = false, features = [
"clap",
"std",
], optional = true }
[profile.release]
opt-level = "z"
strip = true
lto = "thin"
[[bin]]
name = "asimov-openai-prompter"
path = "src/prompter/main.rs"
required-features = ["cli"]