These are chat archives for rust-lang/rust

2nd
Apr 2016
Jeroen Bollen
@Binero
Apr 02 2016 14:21
Is there a way in cargo to set dependencies to only be required by some examples?
I don't want to massively increase my build time just because I want an example to render something
panicbit
@panicbit
Apr 02 2016 23:31
@Binero There's the [dev-dependencies] section, which will only pull dependencies for tests and examples
Jeroen Bollen
@Binero
Apr 02 2016 23:32
@panicbit Close enough, thanks!
panicbit
@panicbit
Apr 02 2016 23:32
@Binero if you want to have different dependencies for each test/example then no... You gotta split it into subcrates then