alamb opened a new issue, #357:
URL: https://github.com/apache/arrow-rs-object-store/issues/357

   **Describe the bug**
   I tried to release 0.12.1 on crates io and go tan error
   - https://github.com/apache/arrow-rs-object-store/issues/287
   
   **To Reproduce**
   ```shell
   cargo publish
   
   error: failed to publish to registry at https://crates.io
   
   Caused by:
     the remote server responded with an error (status 400 Bad Request): 
wildcard (`*`) dependency constraints are not allowed on crates.io. Crate with 
this problem: `wasm-bindgen-test` See 
https://doc.rust-lang.org/cargo/faq.html#can-libraries-use--as-a-version-for-their-dependencies
 for more information
   ```
   
   **Expected behavior**
   Should publish successfully
   
   
   **Additional context**
   I fixed it locally like this:
   
   ```diff
   --- Cargo.toml.orig  2025-05-13 06:35:15
   +++ Cargo.toml       2025-05-13 06:35:50
   @@ -89,7 +89,7 @@
    reqwest = { version = "0.12", features = ["gzip"] }
   
    [target.'cfg(all(target_arch = "wasm32", target_os = 
"unknown"))'.dev-dependencies]
   -wasm-bindgen-test = "*"
   +wasm-bindgen-test = "0.3.50"
   
    [dev-dependencies.getrandom_v03]
    package = "getrandom"
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to