hackndev / zinc

The bare metal stack for rust
zinc.rs
Apache License 2.0
1k stars 100 forks source link

How can I use ioreg from Cargo? #328

Closed russellmcc closed 7 years ago

russellmcc commented 9 years ago

I don't know that cargo is really set up for multi-crate repos like this. Why aren't independently useful things like ioreg split up into separate repositories so they can be accessed from cargo?

I suppose it depends on other crates, like VolatileCell, but still, these could again be in their own repos...

farcaller commented 9 years ago

The last time I checked there were issues with uploading crates that are used against nightly to crates.io. Is ti still the case? I'm all in to publish ioregs and volatile_cell.

mcoffin commented 9 years ago
[dependencies.ioreg]
git = "https://github.com/hackndev/zinc.git"
path = "ioreg"

That will get you ioreg until we beleive it's stable enough to bother publishing to crates.io.

In this way, cargo is actually set up to handle multi-crate repos.

mcoffin commented 7 years ago

Closed as the question has been answered.