Skip to content

Commit

Permalink
chore: Add dep: prefix to feature dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Jan 30, 2024
1 parent 63c0024 commit d1f1479
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ bench = false

[features]
default = ["prost-derive", "std"]
prost-derive = ["dep:prost-derive"]
no-recursion-limit = []
std = []

Expand Down
5 changes: 2 additions & 3 deletions prost-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ rust-version = "1.60"

[features]
default = ["format"]
format = ["prettyplease", "syn"]
# When MSRV moves to 1.60, these can change to dep:
cleanup-markdown = ["pulldown-cmark", "pulldown-cmark-to-cmark"]
format = ["dep:prettyplease", "dep:syn"]
cleanup-markdown = ["dep:pulldown-cmark", "dep:pulldown-cmark-to-cmark"]

[dependencies]
bytes = { version = "1", default-features = false }
Expand Down

0 comments on commit d1f1479

Please sign in to comment.