feature: support smol_str#350
Conversation
|
Hi @corvusrabus, thanks for the PR! Can you add a quick test for it please? That'll help avoid regressions in the future |
|
Thanks @gustavo-shigueo. Sure I can do that but I don't see tests for any of the other similar fundamental datatypes like |
|
I wouldn't say it's necessary - I mean, it's just a string, not much to break there lol -, but I do think it's a good idea. Also, thanks for pointing out those missing tests! I'll try to find some time to add them in the weekend |
|
@gustavo-shigueo. I'll add them if you haven't done it yet |
|
Added tests @gustavo-shigueo |
|
Awesome! Thank you so much @corvusrabus |
| | ordered-float-impl | Implement `TS` for types from *ordered_float* | | ||
| | heapless-impl | Implement `TS` for types from *heapless* | | ||
| | semver-impl | Implement `TS` for types from *semver* | | ||
| | smol_str-impl | Implement `TS` for types from *smol_str* | |
There was a problem hiding this comment.
Here, the feature is called smol_str-impl, but it's actually smolstr-impl in Cargo.toml.
I'd prefer smol_str-impl everywhere, since that matches the <crate name>-impl naming scheme we've got going on here.
There was a problem hiding this comment.
Sure thing. I'll add it to this one #351
|
@gustavo-shigueo there seems to be some CI failures on master |
|
Oops, I missed on |
Goal
Add support for the widely used string crate
smol_str(15m downloads from crates.io).The main and only type in the crate is
SmolStrwhich is essentially a string with some optimisations.Checklist