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

Don't use path dependencies in examples #1015

Merged
merged 1 commit into from
Nov 7, 2018

Conversation

alexcrichton
Copy link
Contributor

This commit updates all examples to not use path dependencies but
rather use versioned dependencies like would typically be found in the
wild. This should hopefully make the examples more copy-pastable and
less alien to onlookers!

The development of the examples remains the same where they continue to
use the wasm-bindgen, js-sys, web-sys, etc from in-tree. The
workspace-level [patch] section ensures that they use the in-tree
versions instead of the crates.io versions.

This commit updates all examples to not use `path` dependencies but
rather use versioned dependencies like would typically be found in the
wild. This should hopefully make the examples more copy-pastable and
less alien to onlookers!

The development of the examples remains the same where they continue to
use the `wasm-bindgen`, `js-sys`, `web-sys`, etc from in-tree. The
workspace-level `[patch]` section ensures that they use the in-tree
versions instead of the crates.io versions.
Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

Good call.

@fitzgen fitzgen merged commit 5baa6ed into rustwasm:master Nov 7, 2018
@alexcrichton alexcrichton deleted the example-changes branch November 8, 2018 16:27
mstange added a commit to mstange/wasm-bindgen that referenced this pull request May 11, 2020
The path dependency was turned into a regular version dependency in PR rustwasm#1015, so it doesn't need to be
called out as special anymore.
This commit also changes the phrasing in the preceding sentence.
alexcrichton pushed a commit that referenced this pull request May 11, 2020
The path dependency was turned into a regular version dependency in PR #1015, so it doesn't need to be
called out as special anymore.
This commit also changes the phrasing in the preceding sentence.
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

2 participants