Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare for client release #215

Merged
merged 8 commits into from Mar 4, 2021
Merged

prepare for client release #215

merged 8 commits into from Mar 4, 2021

Conversation

niklasad1
Copy link
Member

@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

http-client/src/lib.rs Outdated Show resolved Hide resolved
types/CHANGELOG.md Outdated Show resolved Hide resolved
@@ -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
Member 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 and others added 2 commits February 18, 2021 10:33
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.

None yet

3 participants