diff --git a/prost-build/Cargo.toml b/prost-build/Cargo.toml index 8703d1a3a..6a5c08a25 100644 --- a/prost-build/Cargo.toml +++ b/prost-build/Cargo.toml @@ -34,8 +34,8 @@ lazy_static = "1.4.0" regex = { version = "1.5.5", default-features = false, features = ["std", "unicode-bool"] } which = "4" -prettyplease = { version = "0.1", optional = true } -syn = { version = "1", features = ["full"], optional = true } +prettyplease = { version = "0.2", optional = true } +syn = { version = "2", features = ["full"], optional = true } # These two must be kept in sync, used for `cleanup-markdown` feature. pulldown-cmark = { version = "0.9.1", optional = true, default-features = false }