diff --git a/prost-build/Cargo.toml b/prost-build/Cargo.toml index d53eb80c4..4fd9cd336 100644 --- a/prost-build/Cargo.toml +++ b/prost-build/Cargo.toml @@ -33,7 +33,7 @@ syn = { version = "2", features = ["full"], optional = true } # These two must be kept in sync, used for `cleanup-markdown` feature. pulldown-cmark = { version = "0.12", optional = true, default-features = false } -pulldown-cmark-to-cmark = { version = "16", optional = true } +pulldown-cmark-to-cmark = { version = ">=16, <=17", optional = true } [dev-dependencies] env_logger = { version = "0.11", default-features = false }