Crate repository branch

⚓ Rust    📅 2025-11-15    👤 surdeus    👁️ 9      

surdeus

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Crate repository branch

Is there a way to find out from which repository and branch crate version was created?

I know that crates are stored on crates.io as a zip archives, so is there a way to know from what repository branch crate was created?

There is a cargo_metadata crate but it provides only repository information but not branch or tag from which the crate version was created. UPD. It calls cargo to get this information that is too much for me.

Would be nice if there is some crates.io API that gives this information otherwise I'd have to go to the crate repository and guess branch/tag myself.

4 posts - 3 participants

Read full topic

🏷️ Rust_feed