Keep [[bin]] and lib dependencies separated


Is it possible to move entries out of the master [dependencies] list and over to the [[bin]] entry?

I’m looking for something like this:

iron = "*"
# router = "*"
urlencoded = "*"
glob = "*"
# iron-test = "*"
persistent = "*"
router = "*"

I think the real answer is “move that binary to its own crate” but maybe there’s a shortcut here!


Your “real answer” is the only answer right now.


Currently it’s not possible to have binary-only dependencies, but that’s being tracked by