Skip to content

Conversation

@niklasad1
Copy link
Contributor

@niklasad1 niklasad1 commented Feb 17, 2021

The PR prepares for a alpha client release:

  • changes version: 0.1.0 -> 0.2.0-alpha (to avoid collisions, 0.1 is already released at crates.io)
  • adds a changelog
  • adds minimal documentation
  • adds a few lints and fixes them

@@ -1,3 +1,9 @@
#![warn(missing_debug_implementations, missing_docs, rust_2018_idioms, unreachable_pub)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should agree on a standard here with @maciejhirsz too. I suggest we make missing_docs and unreachable_pub errors.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy with missing_docs and unreachable_pub, rust_2018_idioms seems overly pendantic with elided lifetimes (I'd rather have Cow<str> than Cow<'_, str>, etc.).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep it as warn because deny/forbid would force it stop compile on new toolchains as rustc gets smarter :)

forbid(warnings) in substrate is an example of this :)

@niklasad1 niklasad1 requested a review from maciejhirsz March 3, 2021 09:49
Copy link
Contributor

@maciejhirsz maciejhirsz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the one nitpick on lints that we just talked about with @niklasad1 :)

@@ -1,3 +1,9 @@
#![warn(missing_debug_implementations, missing_docs, rust_2018_idioms, unreachable_pub)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy with missing_docs and unreachable_pub, rust_2018_idioms seems overly pendantic with elided lifetimes (I'd rather have Cow<str> than Cow<'_, str>, etc.).

@niklasad1 niklasad1 merged commit 7aeb95d into master Mar 4, 2021
@niklasad1 niklasad1 deleted the na-prep-client-release branch March 4, 2021 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants