DanielKeep / cargo-script

Cargo script subcommand
Other
729 stars 37 forks source link

Gist Support #20

Open mmstick opened 8 years ago

mmstick commented 8 years ago

Is anyone implementing Gist/Web support at this time? If not, I can do it.

DanielKeep commented 8 years ago

There's no-one working on this as far as I know.

Just one thing to be aware of: the reason I've avoided doing this up to now is that I have a pathological hatred of crates that require dicking about with the environment to get them to build. I'm yet to find a library that does HTTPS requests that actually builds on Windows without having to set up a fake UNIX environment or do global installs that break other software I'm using.

I actually managed to get hyper to work with SSL once upon a time. The very next update broke it for no readily explainable reason, and I've just had a zero-tolerance policy for such crates since.

I'm not saying I will reject something that adds a dependency on openssl or curl, but I'm significantly more likely to merge and enable by default if I can just do cargo build and have it work.

I do want this (being able to run a playpen URL locally would be sweet), I'm just not looking forward to the tremendous hassle HTTPS inevitably seems to bring...

mmstick commented 8 years ago

I can't really speak for Windows support as I haven't used Windows in many years. All of the latest programming languages have limited support for Windows, including the popular Node language, so it's no surprise that getting Windows configured as a development environment for Rust is hard. It's hard to get Windows configured as a development environment in general -- it's just not a good place for developing software.

Submitted an implementation that uses the curl crate: https://github.com/DanielKeep/cargo-script/pull/21