-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
96 lines (90 loc) · 2.89 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# SPDX-FileCopyrightText: 2021 - 2023 Robin Vobruba <[email protected]>
#
# SPDX-License-Identifier: Unlicense
[package]
name = "okh-tool"
version = "0.5.3"
license = "AGPL-3.0-or-later"
authors = ["Robin Vobruba <[email protected]>"]
description = """
A CLI tool to deal with Open Know-How (OKH) data files.
Its main functionalities are:
validation of and conversion between the different formats.
"""
repository = "https://github.com/OPEN-NEXT/LOSH-OKH-tool"
homepage = "https://github.com/OPEN-NEXT/LOSH-OKH-tool"
keywords = ["cli", "utility", "conversion", "okh"]
categories = ["command-line-utilities", "text-processing"]
readme = "README.md"
edition = "2021"
[features]
# Activate this to enable all OKH v1 properties,
# as per default, only those requried for converting to OKH LOSH
# are enabled
v1_non_losh = [] # feature has no explicit dependencies
[lints.rust]
rust_2021_compatibility = { level = "warn", priority = -1 }
dead_code = "allow"
[lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
wildcard_enum_match_arm = "warn"
string_slice = "warn"
indexing_slicing = "warn"
clone_on_ref_ptr = "warn"
try_err = "warn"
shadow_reuse = "warn"
empty_structs_with_brackets = "warn"
else_if_without_else = "warn"
use_debug = "warn"
print_stdout = "warn"
print_stderr = "warn"
enum_variant_names = "allow"
# NOTE allowed because:
# If the same regex is going to be applied to multiple inputs,
# the precomputations done by Regex construction
# can give significantly better performance
# than any of the `str`-based methods.
trivial_regex = "allow"
default_trait_access = "allow"
struct_excessive_bools = "allow"
fn_params_excessive_bools = "allow"
[dependencies]
chrono = "0.4"
clap = { version = "4.4", features = ["cargo"] }
codify = { version = "0.6", package = "codify_hoijui" }
const_format = "0.2"
git-version = "0.3"
git2 = { version = "0.19", default-features = false } # "default-features = false" is required for MUSL compatibility, to get rid of OpenSSL
jsonschema = "0.26"
lingua = "1.6"
log = "0.4"
num-derive = "0.4"
num-traits = "0.2"
once_cell = "1.19"
openssl-sys = { version = "0.9", features = [ "vendored" ] } # better MUSL compatibility
projvar = "0.19"
regex = "1.10"
relative-path = { version = "1.9", features = ["serde"] }
reqwest = { version = "0.12", features = ["blocking"] }
semver = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
simplelog = "0.12"
spdx = "0.10"
strum = "0.26"
strum_macros = "0.26"
thiserror = "2.0"
toml = "0.8"
url = { version = "2.5", features = ["serde"] }
walkdir = "2.4"
yaml-rust = "0.4"
[build-dependencies]
codify = { version = "0.6", package = "codify_hoijui" }
csv = "1.3"
regex = "1.10"
serde = { version = "1.0", features = ["derive"] }
thiserror = "2.0"