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

blog post error regarding kcl rust support #1725

Open
thelittlebug opened this issue Nov 17, 2024 · 3 comments
Open

blog post error regarding kcl rust support #1725

thelittlebug opened this issue Nov 17, 2024 · 3 comments

Comments

@thelittlebug
Copy link

hi, you've mentioned kcl in this blog posting https://moonrepo.dev/blog/moon-v1.29 and that it has no rust binding.
im pretty sure that that's not true as kcl is written itself in rust.
the lib can be found here: https://github.com/kcl-lang/lib/tree/main/src
the docs for it here: https://www.kcl-lang.io/docs/reference/xlang-api/rust-api

image

i haven't found a way to comment on the blog post so im writing it here. sry if this is the wrong place.

@milesj
Copy link
Collaborator

milesj commented Nov 18, 2024

They would need to publish it to crates.io to be usable.

@thelittlebug
Copy link
Author

as a non rust developer i don't get it. why isn't cargo add --git https://github.com/kcl-lang/lib good enough?

@milesj
Copy link
Collaborator

milesj commented Nov 21, 2024

@thelittlebug Because the config library schematic is published to crates.io and you can't depend on deps that also aren't published to crates.io.

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

No branches or pull requests

2 participants