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

ScalaJS support #285

Open
mbaechler opened this issue Mar 14, 2022 · 2 comments
Open

ScalaJS support #285

mbaechler opened this issue Mar 14, 2022 · 2 comments

Comments

@mbaechler
Copy link

As far as I understand, circe-yaml is not published as a ScalaJs lib.

Is there something I miss? If not, is there something preventing compilation into ScalaJs?

Thanks for your answer.

@armanbilge
Copy link

If not, is there something preventing compilation into ScalaJs?

Yes, this library depends on the Java Snake Yaml library, which isn't available for Scala.js (since it's written in Java).

Until recently, there weren't any YAML parsers written in pure Scala AFAIK. But now there is one from VirtusLab, so I created a fork of this project that uses it instead and cross-publishes for Scala.js

https://github.com/armanbilge/circe-scala-yaml/releases/tag/v0.0.1

@mbaechler
Copy link
Author

Thanks very much for the link and the project, it looks really cool.

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

2 participants