Skip to content

Conversation

rory-ocl
Copy link
Collaborator

@rory-ocl rory-ocl commented Sep 15, 2025

Description

Examples are now part of the SDK workspace. I removed .cargo/config.toml in each since they can read from the root workspace. Open to input about keeping it if the examples are intended to be more standalone. I chose not to change the Cargo.toml dependencies to workspace = true for that reason. rust-toolchain.toml currently still required for these.

Fixes NIT-3852

Checklist

  • I have documented these changes where necessary.
  • I have read the DCO and ensured that these changes comply.
  • I assign this work under its open source licensing.

In CI, clippy was previously not run on examples since they were not a
part of the workspace project.
We need to go back and make generics (erc20, erc721) work as well.
@joshuacolvin0 joshuacolvin0 marked this pull request as draft September 24, 2025 14:07
# Conflicts:
#	examples/hello_world/Cargo.toml
#	examples/inheritance/src/lib.rs
* Pass constructor value during deployment.
* Remove conditional traits.
* Install stylus-beta.
@alexandrosfilios alexandrosfilios marked this pull request as ready for review October 10, 2025 12:04
Copy link
Member

@joshuacolvin0 joshuacolvin0 left a comment

Choose a reason for hiding this comment

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

LGTM

@rory-ocl rory-ocl merged commit 1ea4306 into main Oct 10, 2025
68 checks passed
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.

3 participants