Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (47 loc) · 1.78 KB
/
Copy pathCargo.toml
File metadata and controls
50 lines (47 loc) · 1.78 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
[workspace]
members = [
"crates/openjd-expr",
"crates/openjd-model",
"crates/openjd-sessions",
"crates/openjd-cli",
"crates/openjd-snapshots",
"crates/openjd-for-js",
]
resolver = "2"
# Workspace-wide metadata inherited by crates via `*.workspace = true`. Each
# publishable crate sets its own `version` (independent versioning) but inherits
# everything else from here. The non-publishable crate openjd-for-js inherits
# the workspace version below as a convenience — it has `publish = false` so
# the version number is not meaningful on npm.
[workspace.package]
version = "0.3.2"
edition = "2021"
license = "(Apache-2.0 OR MIT)"
repository = "https://github.com/OpenJobDescription/openjd-rs"
homepage = "https://github.com/OpenJobDescription/openjd-rs"
readme = "README.md"
rust-version = "1.97.0"
authors = ["Amazon Web Services"]
keywords = ["openjd", "openjobdescription", "render-farm", "job-template", "rendering"]
categories = ["command-line-utilities", "parser-implementations"]
# Lints every workspace crate opts into with `[lints] workspace = true`. CI
# runs clippy (all crates but openjd-for-js) and `cargo doc` (all crates)
# with `-D warnings`, so a `warn` here fails the build.
#
# `missing_docs` enforces quality-criteria Q2's "every public item has a `///`
# doc comment". Items that predate the lint carry an item-level
# `allow(missing_docs, reason = "missing-docs burn-down ...")` attribute;
# documenting them and deleting that attribute is tracked debt, and new code
# must not add one.
[workspace.lints.rust]
missing_docs = "warn"
[workspace.dependencies]
shlex = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde-saphyr = "2"
thiserror = "2"
regex = "1"
regex-syntax = "0.8"
clap = { version = "4", features = ["derive"] }
tracing = "0.1"