Skip to content

Pin flate2 dependency for pixel bridge to be lower than 1.1.10. - #82

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_973403332
Aug 31, 2026
Merged

Pin flate2 dependency for pixel bridge to be lower than 1.1.10.#82
copybara-service[bot] merged 1 commit into
mainfrom
test_973403332

Conversation

@copybara-service

Copy link
Copy Markdown

Pin flate2 dependency for pixel bridge to be lower than 1.1.10.

The png and exr crate depend on miniz_oxide v0.8 while flate2 depend on the API incompatible v0.9. Since the cargo files are flattened during the build
we get an error when building pixel bridge:

error: duplicate key
Error:   --> ../../build/cargo/rust_9a010/x86_64-unknown-linux-gnu/debug/deps/rust-a593f8c403d61387/Cargo.toml:36:1
   |
36 | miniz_oxide = "0.9.1"
   | ^^^^^^^^^^^
Error: Cargo build of bindings failed

@copybara-service
copybara-service Bot force-pushed the test_973403332 branch 2 times, most recently from 666c922 to 44a29d6 Compare August 31, 2026 12:05
The png and exr crate depend on miniz_oxide v0.8 while flate2 depend on the API incompatible v0.9. Since the cargo files are flattened during the build
we get an error when building pixel bridge:

```
error: duplicate key
Error:   --> ../../build/cargo/rust_9a010/x86_64-unknown-linux-gnu/debug/deps/rust-a593f8c403d61387/Cargo.toml:36:1
   |
36 | miniz_oxide = "0.9.1"
   | ^^^^^^^^^^^
Error: Cargo build of bindings failed
```
PiperOrigin-RevId: 973821953
@copybara-service
copybara-service Bot merged commit ebabf81 into main Aug 31, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_973403332 branch August 31, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant