Skip to content

Commit

Permalink
chore: Add dep: prefix to feature dependencies (#919)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
  • Loading branch information
tottoto and LucioFranco committed Feb 29, 2024
1 parent 80f2f7a commit 3961682
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.70"

[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 3961682

Please sign in to comment.