You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why was this removed in 0.13? It is still possible to call the recorder methods manually but constructing the Key is rather annoying. Used dynamic keys for things like:
Well, the simple answer is: practically speaking, we never designed it to be specifically allowed, and it working as such was mostly a side effect of all of the Into<T> impls we had. The example you gave would normally be achieved with something like:
There's probably a way to bring this back: Key/KeyData definitely support initialization from owned strings. The only current hurdle is the macros themselves, and the arguments they expect. I'll have to think about it.
I've been toying with the macro stuff, and this is totally doable. I'm still in the process of going through and adding a lot more unit tests to make sure this works as intended in all cases.
Merged and released. I cut all new minors for essentially all of the crates. Given the new tests that were added, there's fairly solid coverage of the macros, but let me know if anything seems amiss.
Why was this removed in 0.13? It is still possible to call the recorder methods manually but constructing the Key is rather annoying. Used dynamic keys for things like:
The text was updated successfully, but these errors were encountered: