Skip to content
This repository has been archived by the owner on Jul 19, 2020. It is now read-only.

Add a feature gate for service #204

Merged
merged 11 commits into from
Dec 17, 2019
Merged

Add a feature gate for service #204

merged 11 commits into from
Dec 17, 2019

Conversation

hgzimmerman
Copy link
Member

Fixes #199

Allows specifying if the RouterService is compiled - which stdweb support is contingent upon.

This should allow the library to be used outside of a web environment as it breaks the dependency on anything relying on emscripten.

@hgzimmerman hgzimmerman added the breaking change This change will result in a broken build or differing behavior in end-user crates. label Dec 17, 2019
@hgzimmerman
Copy link
Member Author

This is a breaking change for anyone who uses the library without any features at the moment.
They should be instructed to add the feature "service" to their yew_router dependency.

@hgzimmerman
Copy link
Member Author

As of now, another breaking change has been introduced.

Option is no longer allowed in Switches, now either use the crate-provided Permissive or create another variant instead.

@hgzimmerman hgzimmerman mentioned this pull request Dec 17, 2019
@hgzimmerman hgzimmerman merged commit 0deb2e1 into master Dec 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking change This change will result in a broken build or differing behavior in end-user crates.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minimal route derive
1 participant