Satty
Satty copied to clipboard
command_line.rs belongs to build crate
Version
0.20.0 / 9792b1016c5a04d5280abb6553dc2ba6c4aa9181
Description
Because command_line.rs is included in build.rs, it's actually placed in the build crate. (Not sure about the exact name of which).
This means, it is not in the satty crate. Which causes some funny effects such as not being able to use any crates from Satty's dependencies. Only after adding serde as a build dependency, I was able to import it in command_line.rs.
From what I've found via google the only way out seems to be placing command_line.rs in its own crate and use it both as a dependency and build dependency.