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

Try to minimize the dependencies from the macros needed in the client crate #136

Open
gbin opened this issue Dec 5, 2024 · 0 comments
Open

Comments

@gbin
Copy link
Collaborator

gbin commented Dec 5, 2024

A typical Copper user crate has dependencies like that:

[dependencies]
cu29 = { workspace = true }
cu29-derive = { workspace = true }
cu29-clock = { workspace = true }
cu29-helpers = { workspace = true }
cu29-traits = { workspace = true } # needed
cu29-unifiedlog = { workspace = true } # needed
cu29-log = { workspace = true }
cu29-log-runtime = { workspace = true }  # needed
cu29-log-derive = { workspace = true } # needed
bincode = { workspace = true }  # needed

All those "needed" ones are coming from the macros that just use them.

Find a way, maybe some prefix pattern to avoid this misery in the client code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant