-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
56 lines (50 loc) · 1.65 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
[package]
name = "mdmodels"
authors = ["Jan Range <jan.range@simtech.uni-stuttgart.de>"]
description = "A tool to generate models, code and schemas from markdown files"
version = "0.1.8"
edition = "2021"
license = "MIT"
repository = "https://github.com/FAIRChemistry/md-models"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
serde = { version = "1.0.198", features = ["derive"] }
pulldown-cmark = "0.12.2"
serde_json = { "version" = "1.0.116", features = ["preserve_order"] }
regex = "1.10.4"
serde_with = "3.8.0"
minijinja = "2.0.1"
minijinja-embed = "2.0.1"
clap = { version = "4.5.4", features = ["derive"] }
lazy_static = "1.4.0"
gray_matter = "0.2.7"
reqwest = { version = "0.12.4", features = ["blocking", "native-tls-vendored"] }
log = "0.4.21"
pretty_env_logger = "0.5.0"
colored = "2.1.0"
convert_case = "0.6.0"
toml = "0.8.14"
textwrap = "0.16.1"
pyo3 = { version = "0.23.2", features = ["extension-module"], optional = true }
wasm-bindgen = { version = "0.2.95", optional = true }
serde-wasm-bindgen = { version = "0.6.5", optional = true }
tokio = { version = "1.42.0", features = ["rt"] }
openai-api-rs = { version = "5.2.3", optional = true }
jsonschema = { version = "0.27.1", default-features = false }
getrandom = { version = "0.2.15", features = ["js"] }
tsify-next = { version = "0.5.4", features = ["js"], optional = true }
[features]
default = ["openai"]
python = ["pyo3"]
wasm = ["wasm-bindgen", "serde-wasm-bindgen", "tsify-next"]
openai = ["openai-api-rs"]
[build-dependencies]
minijinja-embed = "2.0.1"
[[bin]]
name = "md-models"
path = "src/bin/cli.rs"
required-features = ["openai"]
[dev-dependencies]
assert_cmd = "2.0.14"
pretty_assertions = "1.4.0"