-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
101 lines (91 loc) · 2.67 KB
/
Cargo.toml
File metadata and controls
101 lines (91 loc) · 2.67 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
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
97
98
99
100
101
[workspace]
members = ["crates/*", "examples/*"]
resolver = "3"
[workspace.package]
edition = "2024"
rust-version = "1.85"
description = "cdk-ansible is a tool to generate Ansible playbooks from Rust code."
homepage = "https://github.com/pollenjp/cdk-ansible"
documentation = "https://docs.rs/cdk-ansible"
repository = "https://github.com/pollenjp/cdk-ansible"
authors = ["pollenjp <polleninjp@gmail.com>"]
license = "MIT"
keywords = ["ansible", "cdk", "cdk-ansible"]
[workspace.dependencies]
cdk-ansible = { version = "0.3", path = "crates/cdk-ansible" }
cdk-ansible-cli = { version = "0.2", path = "crates/cdk-ansible-cli" }
cdk-ansible-core = { version = "0.1", path = "crates/cdk-ansible-core" }
cdk-ansible-static = { version = "0.1", path = "crates/cdk-ansible-static" }
cdk-ansible-macro = { version = "0.1", path = "crates/cdk-ansible-macro" }
anyhow = { version = "1.0" }
cargo_toml = "0.22"
chrono = "0.4"
clap = { version = "4.5", features = [
"derive",
"env",
"string",
"wrap_help",
] }
convert_case = "0.8"
dyn-clone = "1.0"
erased-serde = "0.4"
fs-err = "3.3"
futures = "0.3"
indexmap = { version = "2.13", features = ["serde"] }
proc-macro2 = "1.0"
quote = "1.0"
regex = "1.12"
semver = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
shlex = "1.3"
syn = { version = "2.0", features = ["full"] }
tempfile = { version = "3" }
thiserror = "2.0"
tokio = { version = "1", features = ["full"] }
toml = "0.9"
toml_edit = "0.23"
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[workspace.lints.rust]
[workspace.lints.clippy]
# # category
# #
# pedantic = { level = "warn", priority = -1 }
# nursery = { level = "warn", priority = -1 }
# restriction = { level = "warn", priority = -1 }
# # cargo = "warn"
# style
#
# get_first = "allow"
new_without_default = "allow"
# # nursery
# #
# branches_sharing_code = "allow"
# # restriction
# #
# # https://rust-lang.github.io/rust-clippy/master/index.html#blanket_clippy_restriction_lints
# blanket_clippy_restriction_lints = "allow"
# absolute_paths = "allow"
# arbitrary_source_item_ordering = "allow"
# implicit_return = "allow"
# min_ident_chars = "allow"
# missing_docs_in_private_items = "allow"
# mod_module_files = "allow"
# # FIXME: later
# print_stdout = "allow"
# pub_use = "allow"
# pub_with_shorthand = "allow"
# question_mark_used = "allow"
# self_named_module_files = "allow"
# shadow_reuse = "allow"
# shadow_same = "allow"
# shadow_unrelated = "allow"
# single_call_fn = "allow"
# single_char_lifetime_names = "allow"
# std_instead_of_alloc = "allow"
# string_add = "allow"
# string_add_assign = "allow"
use_debug = "allow"