New: testablecomponentdesignAll contenthive-129948hive-196917krsteemhive-166405hive-180932hive-183959photographyhive-183397hive-150122zzanhive-185836hive-144064hive-188619hive-184714hive-101145uncommonlabhive-103599bitcoinhive-193186hive-138689hive-145157hive-109690hive-139150hive-103393TrendingNewHotLikersblackanger (38)in rust • 6 years ago【Rust日报】 2019-07-17Rust的可测试组件设计 #TestableComponentDesign 本文简单介绍了在Rust中编写一个工程性更强的组件(crate)所必须要遵循的一些原则: 自动化测试覆盖 需要可配置的依赖 公共api应该更加易于使用和理解 契约层应该尽量减少泛型的使用 其他 Read More 从futures 0.1迁移到0.3…