Closed lhr0909 closed 4 years ago
I managed to get a type definition out in the lib and got it to work. Should resolve #5 for me. Please let me know if there are better ways to do it. Happy to work with you together on the project. I would like to ramp up on Rust myself.
https://github.com/xanthous-tech/dgraph-js-native/blob/91c38cda5a0a6c898737555235ef2113e108b65d/native/src/lib.rs#L12
Hi, I don't thing that expose these internal structures is the best way. I suggest to use generic parameters instead of it.
I managed to get a type definition out in the lib and got it to work. Should resolve #5 for me. Please let me know if there are better ways to do it. Happy to work with you together on the project. I would like to ramp up on Rust myself.