From dff9e834763c907744234b41a99b705cb9f8bf82 Mon Sep 17 00:00:00 2001 From: tottoto Date: Sun, 17 Sep 2023 05:56:32 +0900 Subject: [PATCH] chore: Add dep: prefix to feature dependencies --- Cargo.toml | 1 + prost-build/Cargo.toml | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 893faf3d2..28c942b32 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,6 +43,7 @@ bench = false [features] default = ["prost-derive", "std"] +prost-derive = ["dep:prost-derive"] no-recursion-limit = [] std = [] diff --git a/prost-build/Cargo.toml b/prost-build/Cargo.toml index 7fefc8794..221cddd0c 100644 --- a/prost-build/Cargo.toml +++ b/prost-build/Cargo.toml @@ -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 }