feature: support private registries
Hello, I use a private registry for some crates at work, unfortunately this plugin is not able to fetch the crate versions from there.
Are there plans to support private registries?

That sounds reasonable, I'll see what I can do
Any updates? I'd be happy to take a look myself, if you're busy ^^
Yeah, sorry I'm currently quite swamped, feel free
Stumbled onto this plugin, it's awesome, but I also use a custom registry.
Having just found the plugin, it will take me a while to familiarise myself with the code, and make any changes. @LeonKowarschickKenbun Did you manage to take a look at all?
Not yet, sadly
Here are some thoughts as to how this could be implemented
- First we have to parse the registry declaration in the toml module and store it on the
Cratestruct - Then we need to obtain the user defined registries
- global ones stored in the user home
- and local ones stored in the repository
- they should probably be lazy loaded when fetching metadata, since this involves FS operations
- Lastly we just pass the whole crate struct to the functions in the API module which decide where to fetch metadata from