-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
chore: Restructure repo for libwaysip #2
Conversation
Signed-off-by: Shinyzenith <aakashsensharma@gmail.com>
The cargo is the newest construction of rust package, you can see what iced do. So I think it is good. so I don't think change back the cargo.toml to the old structure is good.. |
@@ -1,47 +1,12 @@ | |||
[package] | |||
name = "libwaysip" |
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.
Do not change here, this way can keep the version of waysip and libwaysip in the same version, and both can be published to crate
@@ -12,4 +12,4 @@ authors.workspace = true | |||
|
|||
[dependencies] | |||
clap = { version = "4.4.10", features = ["derive"] } | |||
libwaysip.workspace = true | |||
libwaysip = { path = "../libwaysip" } |
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.
Do not change back to path way, this will make only waysip can be published to waycrate
[package] | ||
name = "libwaysip" | ||
description = "Library for facilitating wayland native area selection" | ||
version.workspace = true |
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.
This keyword means to use the the version top workspace project. Before I set the workspace to libwaysip, but now you set nothing,so here you will get empty
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.
Emm, this change is not ok, at least, version is missing. And in order to publish both libwaysip and waysip to crate, path in dependence should not exist..
Ok, I have already change the structure.. |
No description provided.