kinnison / marked-data

A YAML representation library which explicitly retains provenance data
MIT License
13 stars 6 forks source link

Open up dependencies and fix clippy issue #2

Closed wolfv closed 9 months ago

wolfv commented 9 months ago

Hi @kinnison we're using marked-data in rattler-build and it's working great! Unfortunately we can't publish rattler-build to crates.io because we rely on a slightly patched version of marked-data.

It would be terrific if you could merge these changes and publish a new version of marked-data!

wolfv commented 9 months ago

Friendly ping :) It would really be nice if we could publish rattler-build to crates! Otherwise, if you are not comfortable with this, we could also fork and re-publish marked-data under a different name.

kinnison commented 9 months ago

Sorry for the delay, I've been very busy recently :( -- Published 0.2.2 - I'll be interested to see your use of it - could you provide a link?

wolfv commented 9 months ago

No worries, awesome, thanks!

We are using it in rattler-build to parse YAML "recipe" files and provide awesome error messages to the users. E.g. https://github.com/prefix-dev/rattler-build/blob/3e883a6d4d99484ee698ab57cea2e42aebbdecf1/src/recipe/custom_yaml/rendered.rs#L216-L218

For that we rely on the Span to be available.

kinnison commented 9 months ago

Very nice. That is pretty much exactly what I wrote the library for - I'm glad it's useful for you :D.