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

Turning path! into its own crate #46

Closed
zertosh opened this issue Feb 6, 2020 · 3 comments
Closed

Turning path! into its own crate #46

zertosh opened this issue Feb 6, 2020 · 3 comments

Comments

@zertosh
Copy link

zertosh commented Feb 6, 2020

I was looking to implement Div for Path and came across: rust-lang/rust#62989 (comment), which led me here. The path! macro (https://github.com/dtolnay/trybuild/blob/9b92eb13813a6da4c5b135626a52ff18d9d7ba26/src/path.rs) implemented here is really cool. Any chance you can publish that as its own crate?

@dtolnay
Copy link
Owner

dtolnay commented Mar 27, 2020

It's not something that I am interested in maintaining myself as a crate, but the code is appropriately licensed so that someone else could maintain a fork.

@dtolnay dtolnay closed this as completed Mar 27, 2020
@zertosh
Copy link
Author

zertosh commented Apr 1, 2020

Here it is: https://crates.io/crates/path_macro

@pickfire
Copy link

pickfire commented May 2, 2020

Must it be a macro? Why not just path / "a" / "b" to become Path?

Repository owner locked and limited conversation to collaborators Jan 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants