pub fn name(&self) -> Option<&'g str> {
        match self {
            BuildTargetId::Library => None,
            BuildTargetId::BuildScript => None,
            BuildTargetId::Binary(name) => Some(name),
            BuildTargetId::Example(name) => Some(name),
            BuildTargetId::Test(name) => Some(name),
            BuildTargetId::Benchmark(name) => Some(name),
        }
    }
Returns the name embedded in this identifier, or `None` if this is a library target.

To get the name of the library target, use `BuildTarget::name`.
guppy/src/graph/build_targets.rs