Skip to content

lints: apply the workspace lint table to nexum-sdk and nexum-sdk-test #265

Description

@mfw78

Apply the workspace lint table to the two crates that skip it.

Why

crates/nexum-sdk/Cargo.toml and crates/nexum-sdk-test/Cargo.toml carry no [lints] section, so unwrap_used = "deny", expect_used, missing_docs, dbg_macro and todo do not apply to them.
#136 ratcheted the other six crates and noted these two as out of scope at the time.

These are the two crates with the widest external audience: every module author depends on the SDK, and every module author's tests depend on the test kit.

nexum-sdk-test had six known unwrap sites when #136 landed; recount before starting.

Also here

crates/nexum-sdk/src/lib.rs carries #![cfg_attr(docsrs, feature(doc_cfg))] with no doc(cfg) attribute on any item and no [package.metadata.docs.rs] in any manifest, so the cfg is never set.

Done when

Both crates inherit [lints] workspace = true and CI is green.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:sdkGuest-side ergonomics: nexum-sdk, nexum-sdk-test, module macrosdebtRefactor/cleanup: typed replacements for stringly code, dedup, right-sizing

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions