Skip to content

Commit

Permalink
Update dependencies and pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Oct 30, 2024
1 parent 57c2e76 commit 35c171d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 25 deletions.
8 changes: 1 addition & 7 deletions .deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,7 @@ notice = "warn"
default = "deny"
unlicensed = "deny"
copyleft = "warn"
allow = [
"Apache-2.0",
"ISC",
"MIT",
"MPL-2.0",
"Unicode-DFS-2016",
]
allow = ["Apache-2.0", "ISC", "MIT", "MPL-2.0", "Unicode-DFS-2016"]

[bans]
multiple-versions = "warn"
Expand Down
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ repos:
hooks:
- id: check-github-actions
- id: check-github-workflows
- repo: https://github.com/ComPWA/taplo-pre-commit
rev: v0.9.3
hooks:
- id: taplo-format
- id: taplo-lint
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
Expand Down
5 changes: 5 additions & 0 deletions .taplo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SPDX-FileCopyrightText: The djio authors
# SPDX-License-Identifier: CC0-1.0

[formatting]
column_width = 100
29 changes: 11 additions & 18 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,19 @@ edition = "2021"
include = ["README.md", "LICENSES", "src/"]

[dependencies]
anyhow = "1.0.89"
derive_more = { version = "1.0.0", features = [
"display",
"from",
"deref",
"deref_mut",
] }
anyhow = "1.0.91"
derive_more = { version = "1.0.0", features = ["display", "from", "deref", "deref_mut"] }
float-cmp = "0.10.0"
futures-core = { version = "0.3.31", default-features = false }
futures-util = { version = "0.3.31", default-features = false, features = [
"std",
] }
futures-util = { version = "0.3.31", default-features = false, features = ["std"] }
log = "0.4.22"
strum = { version = "0.26.3", features = ["derive"] }
thiserror = "1.0.64"
thiserror = "1.0.65"

# Optional dependencies
discro = { version = "0.29.3", optional = true }
midir = { version = "0.10.0", optional = true }
tokio = { version = "1.40.0", default-features = false, optional = true }
tokio = { version = "1.41.0", default-features = false, optional = true }

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

[dev-dependencies]
anyhow = "1.0.89"
anyhow = "1.0.91"
hidapi = "2.6.3"
pretty_env_logger = "0.5.0"

[features]
# All cross-platform features are enabled by default.
default = [
"all-controllers",
"midir",
"observables",
"blinking-led-task-tokio-rt",
"controller-thread",
"all-controllers",
"midir",
"observables",
"blinking-led-task-tokio-rt",
"controller-thread",
]
midi = []
midir = ["dep:midir"]
Expand Down

0 comments on commit 35c171d

Please sign in to comment.