Closed LesnyRumcajs closed 1 year ago
Fixed with #31 - at least I cannot reproduce with that version. I'll cut a release shortly.
# cargo spellcheck list-files | rg ipld
/tmp/forest/ipld/src/lib.rs
/tmp/forest/ipld/src/selector/mod.rs
/tmp/forest/ipld/src/cid_hashset.rs
/tmp/forest/ipld/src/json.rs
/tmp/forest/ipld/src/util.rs
/tmp/forest/ipld/src/error.rs
/tmp/forest/ipld/src/selector/empty_map.rs
/tmp/forest/ipld/src/selector/walk.rs
───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: ipld/Cargo.toml
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ [package]
2 │ name = "forest_ipld"
3 │ description = "Interplanetary linked data types and implementation"
4 │ license.workspace = true
5 │ repository.workspace = true
6 │ version.workspace = true
7 │ authors.workspace = true
8 │ edition.workspace = true
9 │
10 │ [dependencies]
11 │ ahash.workspace = true
12 │ anyhow.workspace = true
13 │ async-recursion = "1.0"
14 │ async-trait.workspace = true
15 │ cid.workspace = true
16 │ forest_blocks.workspace = true
17 │ fvm_ipld_encoding.workspace = true
18 │ fvm_shared = { workspace = true, default-features = false }
19 │ indexmap.workspace = true
20 │ libipld-core = { workspace = true, features = ["serde-codec"] }
21 │ libipld-macro.workspace = true
22 │ libipld.workspace = true
23 │ multibase.workspace = true
24 │ serde = { workspace = true, features = ["derive"] }
25 │ thiserror.workspace = true
26 │
27 │ [dev-dependencies]
28 │ forest_db.workspace = true
29 │ forest_json.workspace = true
30 │ forest_utils.workspace = true
31 │ multihash = { workspace = true, default-features = false, features = ["identity"] }
32 │ quickcheck.workspace = true
33 │ quickcheck_macros.workspace = true
34 │ serde_json.workspace = true
35 │ tokio.workspace = true
───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Could you retry with v0.12.4
?
@drahnr Yeah, it looks good now. Thanks a lot; it would also be great to release it on crates.io
. Cheers! :)
Describe the bug
The spellcheck doesn't follow crates where the edition is inherited from the workspace.
To Reproduce
Steps to reproduce the behaviour:
forest_ipld
is a workspace member where theedition
is defined asedition = "2021"
.Running
cargo spellcheck list-files
doesn't yield anything for this crate.After changing
edition.workspace = true
to an explicitedition = "2021"
, it works fine.Workspace: https://github.com/ChainSafe/forest/blob/main/Cargo.toml Member: https://github.com/ChainSafe/forest/blob/e499495776762060ddc22bf308d869f754c85ee5/ipld/Cargo.toml
Expected behavior
cargo spellcheck list-files
also works when the edition is inherited from the workspace.Screenshots
Please complete the following information:
cargo install --locked cargo-spellcheck
$(cargo spellcheck --version)
-->cargo-spellcheck 0.12.3
Additional context
The workaround is to use an explicit edition for all members. https://github.com/ChainSafe/forest/pull/2702