mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Fix loading .cargo/config.toml
(#1217)
Fixed #1216 Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
07bc44e059
commit
47f79a9660
2 changed files with 4 additions and 4 deletions
|
@ -52,12 +52,12 @@ pub enum Env {
|
|||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct Registry {
|
||||
pub index: CompactString,
|
||||
pub index: Option<CompactString>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct DefaultRegistry {
|
||||
pub default: CompactString,
|
||||
pub default: Option<CompactString>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Deserialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue