Skip to content

Commit

Permalink
chore: begin fixing no-std features; prost
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbz00 committed Apr 21, 2024
1 parent b8215e6 commit ff469b5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ exclude = [
resolver = "2"

[workspace.dependencies]
prost = { version = "0.12.4", path = "prost" }
prost = { version = "0.12.4", path = "prost", default-features = false }
prost-build = { path = "prost-build" }
prost-derive = { version = "0.12.4", path = "prost-derive" }
prost-types = { path = "prost-types", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion conformance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false
edition = "2018"

[dependencies]
prost.workspace = true
prost = { workspace = true, features = ["default"] }
protobuf.workspace = true
tests.workspace = true

Expand Down
2 changes: 1 addition & 1 deletion prost-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ itertools = { workspace = true, features = ["use_alloc"] }
log.workspace = true
multimap.workspace = true
petgraph.workspace = true
prost = { workspace = true, features = [] }
prost = { workspace = true, features = ["default"] }
prost-types = { workspace = true, features = ["std"] }
tempfile.workspace = true
once_cell.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion protobuf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false
edition = "2018"

[dependencies]
prost.workspace = true
prost = { workspace = true, features = ["default"] }
prost-types = { workspace = true, features = ["std"] }

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tests-2015/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ path = "../tests/src/lib.rs"
[features]
default = ["edition-2015", "std"]
edition-2015 = []
std = ["anyhow/std", "prost-types/std"]
std = ["anyhow/std", "prost-types/std", "prost/std"]

[dependencies]
prost.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build = "src/build.rs"

[features]
default = ["std"]
std = ["anyhow/std", "prost-types/std"]
std = ["anyhow/std", "prost-types/std", "prost/std"]

[dependencies]
prost.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion tests/single-include/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish = false
license = "MIT"

[dependencies]
prost.workspace = true
prost = { workspace = true, features = ["default"] }

[build-dependencies]
prost-build.workspace = true

0 comments on commit ff469b5

Please sign in to comment.