yrashk / bpxe.rs

Business Process eXecution Engine
Apache License 2.0
36 stars 10 forks source link

Problem: usage of intertrait crate #8

Closed yrashk closed 3 years ago

yrashk commented 3 years ago

We're currently using intertrait, which depends on linkme. While it works on Linux, macOS and Windows, it might not work elsewhere as it's platform-dependent.

In fact, there's no support for WebAssembly: https://github.com/dtolnay/linkme/issues/6 and that's one of the goals for BPXE.

Potential solution: try migrating to https://github.com/Lej77/cast_trait_object

Another angle to look at it is to look at the actual problem this casting is solving: traversal of the BPMN document tree and being able to find nodes with a particular trait type and use them.