Comments (7)
#6518 has now been deployed. in other words: crates.io no longer allows "publishes with versions only differing in metadata"
from crates.io.
Ah, that pointed me to this being a dupe of #1059
from crates.io.
for cross-referencing: we discussed the situation on Zulip (see https://rust-lang.zulipchat.com/#narrow/stream/318791-t-crates-io/topic/const_fn_assert/near/356688583)
we decided to remove const_fn_assert#0.1.2+deprecated
from crates.io since our backend shouldn't have accepted the publish in the first place. I've also sent an email to the crate owner explaining the situation.
since we already have #1059 for tracking the problem I'll go ahead and close this issue here since the const_fn_assert
situation itself has been resolved AFAICT.
from crates.io.
crates.io/src/controllers/krate/publish.rs
Line 190 in 127ac54
from crates.io.
I think the problem here is how "build metadata" in the version
field is handled. You can see at https://crates.io/crates/const_fn_assert/versions that crates.io now has 0.1.2
and 0.1.2+deprecated
. crates.io currently treats them as different versions (for no good reason IMHO), and I assume cargo ignores the build metadata and downloads a different crate file that does not correspond to the build metadata.
/cc @rust-lang/cargo
from crates.io.
Ah that would make sense and would at least be an honest mistake. Thanks for checking this so fast :)
from crates.io.
rust-lang/cargo#11412 for where the cargo team has discussed this
from crates.io.
Related Issues (20)
- Use non-200 HTTP response status codes for API errors HOT 6
- Problem when trying to install a specific version
- v1 api breaks on crate "new"
- robots.txt is too restrictive, preventing Discord from generating embeds HOT 3
- Admin action plan HOT 9
- #7941 broke searches with spaces in them HOT 3
- crates.io's TOML snippet with metadata produces warnings when used in `Cargo.toml` HOT 2
- Download graphs not starting at y=0
- `recent_crate_downloads` materialised view is not refreshed with the new download counting implementation HOT 1
- 'Browse All Crates' results in `Something Went Wrong!' HOT 1
- API token expiry warning emails HOT 5
- Name squatting: Can't find current owner's contact info HOT 2
- Tracking Issue for Packages as (optional) namespaces HOT 3
- README example rendering doesn't hide lines HOT 2
- An internal server error on crates.io website HOT 1
- Remove usage of EmberJS in the front-end? HOT 3
- Status 403 Forbidden HOT 1
- Image rendered wrongly HOT 3
- Crates with paths differing only by case are allowed HOT 2
- Unable to add owner via CLI; kinda works via web HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crates.io.