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

Better workspace/crates handling #110

Open
pepperoni21 opened this issue Jan 12, 2025 · 0 comments
Open

Better workspace/crates handling #110

pepperoni21 opened this issue Jan 12, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@pepperoni21
Copy link
Owner

Hey, just published version 0.2.3 that introduces a macro crate for handling custom user-defined functions.

I'm not really used to publishing workspaces to crates.io. I just published both ollama-rs and ollama-rs-macros crates separately, and it requires ollama-rs to use the published version of ollama-rs-macros on crates.io so I specified the current version of the macro crate inside the Cargo.toml of ollama-rs:

ollama-rs-macros = { version = "0.2.3", optional = true }

While on the master branch it uses the workspace dependency. I don't know if there's a better way to handle that. Probably. Hopefully it doesn't break anything, and the master branch remains accessible for use as a dependency.

@pepperoni21 pepperoni21 added the enhancement New feature or request label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant