edgedb / edgedb-rust

The official Rust binding for EdgeDB
https://edgedb.com
Apache License 2.0
215 stars 26 forks source link

Code that will be rejected by a future version of Rust #192

Closed IgnisDa closed 1 year ago

IgnisDa commented 1 year ago

One of the dependencies (through the dependency tree) - traitobject is now outdated:

image

Here is the reverse tree of the offending package:

image
tailhook commented 1 year ago

I'm aware of this. But I think this future incompatiblity is just theoretical at this point. In the meantime I'm thinking if there a good replacement for typemap? Or is the only option is to go with less generic code and fixed structures?

tailhook commented 1 year ago

Note to myself: tiny layer of abstraction on top of HashMap<TypeId, Box<Any>> works without any unsafe code.