Skip to content

Commit

Permalink
Do not rely on default features of dependencies (#481)
Browse files Browse the repository at this point in the history
This improves compile times and is more explicit. This used to be true
for published libraries, but published binaries also matter.
  • Loading branch information
ia0 authored May 24, 2024
1 parent da1aa2f commit 900efde
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 282 deletions.
2 changes: 1 addition & 1 deletion crates/cli-tools/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## 0.1.0-git

<!-- Increment to skip CHANGELOG.md test: 4 -->
<!-- Increment to skip CHANGELOG.md test: 5 -->
148 changes: 10 additions & 138 deletions crates/cli-tools/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions crates/cli-tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ keywords = ["cli", "embedded", "framework", "wasm"]
categories = ["command-line-utilities", "embedded", "wasm"]

[dependencies]
anyhow = "1.0.79"
cargo_metadata = "0.18.1"
clap = { version = "4.4.18", features = ["derive"] }
serde = { version = "1.0.195", features = ["derive"] }
toml = "0.8.8"
anyhow = { version = "1.0.79", default-features = false, features = ["std"] }
cargo_metadata = { version = "0.18.1", default-features = false }
clap = { version = "4.4.18", default-features = false, features = ["derive", "std"] }
serde = { version = "1.0.195", default-features = false, features = ["derive"] }
toml = { version = "0.8.8", default-features = false, features = ["display", "parse"] }

[lints]
clippy.unit-arg = "allow"
Expand Down
1 change: 1 addition & 0 deletions crates/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

### Patch

- Depend on features of dependencies explicitly
- Use common Wasefire lints

## 0.1.0
Expand Down
Loading

0 comments on commit 900efde

Please sign in to comment.