@rustlang friends, what are some common conventions for naming cargo workspaces when splitting up a lib from a cli. golang by convention uses `cmd`. do we have a convention around this yet?
-
-
that's also almost what I'm going for except that I'd like http://lib.rs to stand alone to be used outside a cli context and absent of cli crate dependencies. workspaces are the tool I have at my disposal for this that makes that some what convenient.
-
Yes, having a separate name_cli crate in the same workspace works quite well. Not sure if it's a known pattern but it is common: https://crates.io/search?q=cli
- 10 more replies
New conversation -
-
-
whoops, didn't correctly copy the link to the CLI book -- here it is: https://github.com/rust-lang-nursery/cli-wg/pull/58/files …
-
Also worth noting is that some projects are using bin/ as a directory to source binaries from. Probably the most notable example of this has been wasm-pack's test command. Might be best to use a different name to keep concepts separate.pic.twitter.com/wHlfsJeKa3
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.