crate 可以编译成二进制可执行文件(binary)或库文件(library)。默认情况下, 将从 crate 产生库文件。这种行为可以通过 rustc 的选项 覆盖。
rustc
本文档使用 全库网 构建