Skip to content

Commit 35c171d

Browse files
committed
Update dependencies and pre-commit hooks
1 parent 57c2e76 commit 35c171d

File tree

4 files changed

+22
-25
lines changed

4 files changed

+22
-25
lines changed

.deny.toml

+1-7
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@ notice = "warn"
1313
default = "deny"
1414
unlicensed = "deny"
1515
copyleft = "warn"
16-
allow = [
17-
"Apache-2.0",
18-
"ISC",
19-
"MIT",
20-
"MPL-2.0",
21-
"Unicode-DFS-2016",
22-
]
16+
allow = ["Apache-2.0", "ISC", "MIT", "MPL-2.0", "Unicode-DFS-2016"]
2317

2418
[bans]
2519
multiple-versions = "warn"

.pre-commit-config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ repos:
4949
hooks:
5050
- id: check-github-actions
5151
- id: check-github-workflows
52+
- repo: https://github.com/ComPWA/taplo-pre-commit
53+
rev: v0.9.3
54+
hooks:
55+
- id: taplo-format
56+
- id: taplo-lint
5257
- repo: https://github.com/doublify/pre-commit-rust
5358
rev: v1.0
5459
hooks:

.taplo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SPDX-FileCopyrightText: The djio authors
2+
# SPDX-License-Identifier: CC0-1.0
3+
4+
[formatting]
5+
column_width = 100

Cargo.toml

+11-18
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,19 @@ edition = "2021"
1515
include = ["README.md", "LICENSES", "src/"]
1616

1717
[dependencies]
18-
anyhow = "1.0.89"
19-
derive_more = { version = "1.0.0", features = [
20-
"display",
21-
"from",
22-
"deref",
23-
"deref_mut",
24-
] }
18+
anyhow = "1.0.91"
19+
derive_more = { version = "1.0.0", features = ["display", "from", "deref", "deref_mut"] }
2520
float-cmp = "0.10.0"
2621
futures-core = { version = "0.3.31", default-features = false }
27-
futures-util = { version = "0.3.31", default-features = false, features = [
28-
"std",
29-
] }
22+
futures-util = { version = "0.3.31", default-features = false, features = ["std"] }
3023
log = "0.4.22"
3124
strum = { version = "0.26.3", features = ["derive"] }
32-
thiserror = "1.0.64"
25+
thiserror = "1.0.65"
3326

3427
# Optional dependencies
3528
discro = { version = "0.29.3", optional = true }
3629
midir = { version = "0.10.0", optional = true }
37-
tokio = { version = "1.40.0", default-features = false, optional = true }
30+
tokio = { version = "1.41.0", default-features = false, optional = true }
3831

3932
# Optional dependencies (experimental features)
4033
crossbeam-utils = { version = "0.8.20", optional = true }
@@ -45,18 +38,18 @@ enum-as-inner = { version = "0.6.1", optional = true }
4538
hidapi = { version = "2.6.3", optional = true }
4639

4740
[dev-dependencies]
48-
anyhow = "1.0.89"
41+
anyhow = "1.0.91"
4942
hidapi = "2.6.3"
5043
pretty_env_logger = "0.5.0"
5144

5245
[features]
5346
# All cross-platform features are enabled by default.
5447
default = [
55-
"all-controllers",
56-
"midir",
57-
"observables",
58-
"blinking-led-task-tokio-rt",
59-
"controller-thread",
48+
"all-controllers",
49+
"midir",
50+
"observables",
51+
"blinking-led-task-tokio-rt",
52+
"controller-thread",
6053
]
6154
midi = []
6255
midir = ["dep:midir"]

0 commit comments

Comments
 (0)