-
Notifications
You must be signed in to change notification settings - Fork 0
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
add label derive macro #3
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good (apart from failing doctests; but those can be set to ignore
if needed). A few inline questions, mainly for my own understanding.
@@ -42,14 +42,14 @@ jobs: | |||
command: fmt | |||
args: --all -- --check | |||
test: | |||
name: Test Stable | |||
name: Test Beta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume this is done temporarily, to use the new impl
-stuff?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed, in 6 weeks this can be put back!
scopegraphs-lib = {path="../scopegraphs-lib"} | ||
scopegraphs-macros = {path="../scopegraphs-macros"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How will this work when we (eventually) publish the crate. Will the reexport take care that everything in these libraries is available?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed, scopegraphs is like a facade library, it simply reexports all these lower level libs, but it is what users will import. Later we aren't just going to use paths, but also version these, but there are tools for that. Terts has a lot of experience with this from uutils, I hope he knows what works best here :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah cargo-release
or something like that will probably work well. (In uutils we do all of this with a super ugly bash script 😄)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doing it like this also makes compilation efficient. scopegraphs-macros can now compile entirely independently from scopegraphs-lib, in parallel.
The doctest arealso failing on the target branch, and is probably a bigger problem we have to solve later once there is some kind of actual implementation of the type. |
No description provided.