Cargoでbinもlibも含めたいときに参考になりそうな方法
#Cargo
#Rust
Rust package with both a library and a binary? - Stack Overflow