faf rust replayserver:重播FAForever的服务器。Rust味三 源码
第三次使用FAF重播服务器,这次是在Rust中。 用法 参见docs / usage.rst。如果要构建文档,则需要sphinx和 。 运行额外的测试 要运行数据库查询单元测试,请执行以下操作: 从faf-stack设置本地数据库。看。 清除本地数据库并加载测试数据: ./test/clear_and_populate_db.sh 按以下方式运行cargo test : env DB_HOST= DB_PORT= cargo test --features local_db_tests 一些测试在cargo test之外运行,因为它们操纵过程全局状态。您可以这样运行它们: cargo build --features process_tests ./test/run_process_tests.sh 覆盖
下载地址
用户评论