1[package]
2name = "jacquard-lexgen"
3description = "Lexicon fetching and code generation binaries for Jacquard"
4edition.workspace = true
5version.workspace = true
6authors.workspace = true
7repository.workspace = true
8keywords.workspace = true
9categories.workspace = true
10readme.workspace = true
11exclude.workspace = true
12license.workspace = true
13
14[[bin]]
15name = "jacquard-codegen"
16path = "src/bin/codegen.rs"
17
18[[bin]]
19name = "lex-fetch"
20path = "src/bin/lex_fetch.rs"
21
22[[bin]]
23name = "extract-schemas"
24path = "src/bin/extract_schemas.rs"
25
26[[example]]
27name = "extract_inventory"
28path = "../../examples/extract_inventory.rs"
29
30
31[dependencies]
32clap.workspace = true
33glob = "0.3"
34inventory = "0.3"
35jacquard-api = { version = "0.9", path = "../jacquard-api", default-features = false, features = [ "minimal" ] }
36jacquard-common = { version = "0.9", features = [ "reqwest-client" ], path = "../jacquard-common" }
37jacquard-derive = { version = "0.9", path = "../jacquard-derive" }
38jacquard-identity = { version = "0.9", path = "../jacquard-identity", features = ["dns"] }
39jacquard-lexicon = { version = "0.9", path = "../jacquard-lexicon" }
40kdl = "6"
41miette = { workspace = true, features = ["fancy"] }
42reqwest = { workspace = true, features = ["json", "http2", "system-proxy", "rustls-tls"] }
43serde.workspace = true
44serde_json = { workspace = true, features = ["preserve_order"] }
45syn.workspace = true
46tempfile = "3.23"
47thiserror.workspace = true
48tokio = { workspace = true, features = ["full"] }
49toml = "0.8"
50walkdir = "2.5"
51
52[dev-dependencies]
53tempfile = { version = "3.23.0" }
54
55[build-dependencies]
56clap.workspace = true
57clap_complete.workspace = true
58clap_mangen.workspace = true
59
60[package.metadata.binstall]
61pkg-url = "https://github.com/rsform/jacquard/releases/download/v{ version }/{ name }_{ target }_v{ version }{ archive-suffix }"
62bin-dir = "{ name }_{ target }_v{ version }/bin/{ bin }{ binary-ext }"
63pkg-fmt = "txz"
64
65[package.metadata.binstall.overrides.x86_64-pc-windows-gnu]
66pkg-fmt = "zip"
67bin-dir = "{ name }_{ target }_v{ version }/{ bin }{ binary-ext }"