-
Notifications
You must be signed in to change notification settings - Fork 30
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 release with SCALE 3.0 #140
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. We'll need an entry in the CHANGELOG
too though.
Cargo.toml
Outdated
@@ -16,10 +16,10 @@ include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] | |||
[dependencies] | |||
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"], optional = true } | |||
cfg-if = "1.0" | |||
scale-info-derive = { version = "1.0.0", path = "derive", default-features = false, optional = true } | |||
scale-info-derive = { version = "1.0.1", path = "derive", default-features = false, optional = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may have to make this 2.0
since the major bump of the requirement for parity-scale-codec
makes it a breaking change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scale 3 is also edition 2021 with an increased minimum Rust version, so I completely agree there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I seem to be unable to formulate a rule about how to deal with dependency updates, how a breaking change downstream translates. It seems to be a common problem. Then there's the matter of MSRV, which I don't think we're taking into consideration at all here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no real consensus in the Rust community either. With a complex project like Substrate, I would err on too much safety and more manual upgrades, and implement some helper tools to make the overview of outdated deps easier.
@wigy-opensource-developer #137 is merged now, so we can pull that in here and set the version to 2.0. |
Jinx. Did a |
Hehe, sorry! |
No description provided.