← Back to context

Comment by NooneAtAll3

11 hours ago

considering the all-insistence of rust on using internet for all the libraries, this doesn't seem like a good idea...

What do you mean? Cargo downloads packages from the internet by default programs do exactly what they’re programmed to do. No more and no less.

Just because you’re targeting windows xp doesn’t mean you need to run windows xp to do development.

What insistence? I do 99% of my Rust development with this ~/.cargo/config.toml:

  [net]
  offline = true
  
  [source]
  
  [source.crates-io]
  replace-with = "debian"
  
  [source.debian]
  directory = "/usr/share/cargo/registry"

Works great.