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

chore: Switch Cosmos package dependencies from crate to workspace #120

Merged
merged 17 commits into from
Jan 11, 2025

Conversation

code0xff
Copy link
Contributor

This PR updates the Cosmos packages by transitioning dependencies to workspace-level management, standardizing package metadata, introducing a nostd crate to improve support for no_std environments, and adjusting the cosmwasm-std version.

@code0xff code0xff requested a review from conr2d January 10, 2025 01:22
Cargo.toml Outdated
@@ -77,16 +77,22 @@ bytemuck = "1.16.1"
bytemuck_derive = "1.7.0"
byteorder = { version = "1.5.0", default-features = false }
const-hex = { version = "1.13", default-features = false }
core2 = { version = "0.4.0", default-features = false }
Copy link
Contributor

Choose a reason for hiding this comment

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

You can use nostd::io instead of core2.

Cargo.toml Outdated
getrandom = { version = "0.2", default-features = false }
hex = { version = "0.4", default-features = false }
Copy link
Contributor

Choose a reason for hiding this comment

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

You can use const-hex instead of hex.

@@ -44,7 +44,7 @@ composable-support = { workspace = true, default-features = false }
cosmwasm-std = { workspace = true, default-features = false, features = [
"iterator",
"stargate",
"cosmwasm_1_4",
"cosmwasm_1_2",
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the reason of this downgrade?

@code0xff code0xff merged commit c56c47b into main Jan 11, 2025
4 checks passed
@code0xff code0xff deleted the cosmos-dependency branch January 11, 2025 13:37
@github-actions github-actions bot locked and limited conversation to collaborators Jan 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants