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

chore: Restructure repo for libwaysip #2

Closed
wants to merge 1 commit into from
Closed

Conversation

Shinyzenith
Copy link
Member

No description provided.

Signed-off-by: Shinyzenith <aakashsensharma@gmail.com>
@Decodetalkers
Copy link
Collaborator

Decodetalkers commented Dec 7, 2023

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"
Copy link
Collaborator

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" }
Copy link
Collaborator

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
Copy link
Collaborator

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

Copy link
Collaborator

@Decodetalkers Decodetalkers left a 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..

@Decodetalkers
Copy link
Collaborator

Ok, I have already change the structure..

@Shinyzenith Shinyzenith closed this Dec 7, 2023
@Shinyzenith Shinyzenith deleted the patch branch April 7, 2024 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants