duplicate:容易的代码重复替换了Rust

时间:2021-03-08 15:00:51
【文件属性】:
文件名称:duplicate:容易的代码重复替换了Rust
文件大小:54KB
文件格式:ZIP
更新时间:2021-03-08 15:00:51
Rust 复制 属性宏,用于代码替换(带替换)。 本文档仅供板条箱的撰稿人使用。 该文档托管在。 测验 设置 此板条箱使用测试扩展。 因此,在运行这些测试之前,必须与rustfmt和cargo-expand一起安装每晚编译器: cargo install cargo-expand rustup toolchain install nightly rustup component add rustfmt 然后可以使用cargo test正常运行cargo test ,如下所示。 测试分为以下几组: no_features :测试未启用任何功能的包装箱的最小API。 cargo test --no-default-features -- --skip default_features:: default_features :测试默认情况下是否启用了正确的功能。 这是为了确保更改不会更改默认情
【文件预览】:
duplicate-master
----.travis.yml(4KB)
----LICENSE-MIT(1KB)
----LICENSE-APACHE(11KB)
----rustfmt.toml(505B)
----cargo-readme.md(3KB)
----.github()
--------pull_request_template.md(619B)
--------ISSUE_TEMPLATE()
--------workflows()
----tests()
--------utils.rs(7KB)
--------module_disambiguation()
--------tests.rs(119B)
--------default_features()
--------no_features()
----src()
--------parse.rs(10KB)
--------crate_readme_test.rs(109B)
--------module_disambiguation.rs(2KB)
--------parse_utils.rs(3KB)
--------substitute.rs(7KB)
--------lib.rs(35KB)
----Cargo.toml(1KB)
----.gitignore(46B)
----CHANGELOG.md(4KB)
----.devbots()
--------needs-triage.yml(80B)
----README.md(3KB)
----git_private_key.enc(3KB)

网友评论