Skip to content

Commit d1ecdac

Browse files
committed
Explicit the reason of some deps
Signed-off-by: Patrick Luca Fazzi <patrick91@live.it>
1 parent 23419dd commit d1ecdac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_architecture.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ fn test_architectural_rules() {
6666

6767
.rules_for_crate("rust_arkitect::rust_file")
6868
.it_may_depend_on(&[
69-
"std::path",
70-
"syn",
71-
"toml", // Why?
69+
"std::path", // Used to navigate the file system and get the logical name of the module
70+
"syn", // Used to parse Rust code and build the AST
71+
"toml", // Used to read Cargo.toml and find the crate of the file
7272
])
7373

7474
.build();

0 commit comments

Comments
 (0)