GithubHelp home page GithubHelp logo

argwerk's People

Contributors

bartmassey avatar udoprog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

argwerk's Issues

Some doc hard to find

When reading the documentation for Args::args() (what most folks will use, I think) it's not obvious that most of the documentation is actually on Args::parse(). An explicit link to the latter from the former with a note indicating that this would be good to look at would be really helpful.

Examples trigger (new) Clippy warning

These days, Clippy warns that the constructor Args::args() is bad style, because "constructor args has the same name as the type". Can either change the examples to use a different struct name or suppress the Clippy warning in the macro, I guess?

Cannot provide attributes for struct in `define!()`

When using the define!() macro to define an Args struct, it would be nice to be able to add things like #[derive(Clone)] or #[repr(C)] or whatever. (Should also document that #[derive(Debug)] is there by default.)

Pull request incoming soon.

Allow fields of arg struct to be public

Right now one can't make fields of the args struct processed by the argwerks::define macro public: it is a syntax error. Being able to do so is convenient for my application.

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.