Giter Club home page Giter Club logo

cmdline_words_parser's People

Contributors

thepowersgang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cmdline_words_parser's Issues

Please tag releases

Hello,

Thanks for the nice crate. I'd like to ask if you could start to tag the releases as it allows for easy finding of what changed since last version.

Thanks in advance,

Building fails on Windows

Hey thanks for writing this really useful crate! Sadly I noticed that updating to 0.2.0 causes my build on Windows is failing : (

Target and compiler:

stable-x86_64-pc-windows-msvc
rustc 1.42.0

Compiling cmdline_words_parser v0.2.0
error[E0433]: failed to resolve: could not find `unix` in `os`
  --> src\lib.rs:84:35
   |
84 |         let _: &[u8] = <_ as ::std::os::unix::ffi::OsStrExt>::as_bytes(self);
   |                                         ^^^^ could not find `unix` in `os`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0433`.
error: could not compile `cmdline_words_parser`.

To learn more, run the command again with --verbose.

I looked into it and it seems that std::os::unix::* is not available on windows platforms (https://doc.rust-lang.org/std/os/unix/index.html). Is line 84 "just" a safety check that can be disabled or rewritten on windows platforms?

I use this crate indirectly via the https://crates.io/crates/easy_process crate which uses this crate with default features enabled. So disabling std is not possible here.

Thanks for your help! :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.