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

Why are you using this crate? #9

Open
koivunej opened this issue Jan 8, 2022 · 1 comment
Open

Why are you using this crate? #9

koivunej opened this issue Jan 8, 2022 · 1 comment

Comments

@koivunej
Copy link
Owner

koivunej commented Jan 8, 2022

Over it's lifetime this crate has seen quite many downloads. For example, the 2021-10-19 had a huge (for this crate) 10k per day spike. I haven't used this crate myself in a few years but would be interested to know what are you using it for? If you are more than trying it out, does the duck typing aspect of $field.into_owned() give you any trouble, if so, how do you work around it?

I guess I'm mostly interested to hear if this should have some warning disclaimers on the README; I worry anyone trying this crate out quite quickly becomes aware of the limitations of it and the std::borrow::Cow. Would be happy to guide new folks to a blog post on std::borrow::Cow limitations if anyone knows a recent one.

@hoodie
Copy link
Contributor

hoodie commented Jan 8, 2022

I personaly use it for some parsers where I try to create the entire data-structure only with cow types.

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