@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
- 3 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 …
-
as soon as I tweeted this I recalled that that working group existed :) posted an issue for discussion/consideration https://github.com/rust-lang-nursery/cli-wg/issues/87 …. I saw https://rust-lang-nursery.github.io/cli-wg/ but it didn't have the answer I was looking for. Like the work coming out of this group :thumbsup:
End of conversation
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.