I am using Biscuit token for authorization in a distributed system.
Would be nice to use it with OCaml as well, so I had a look at their bindings.
They use cargo-c to generate the C dependencies from source
What would be a recommended approach to start writing a binding from there?
Would you copy just the C files and then use Ctypes or is there another better approach?
Running cargo-c as a build dependency looks to complicate for a library?
The project (not binding the Rust implement but a full reimplementation guided by the Haskell implementation) has been started internally and I hope it will be released on May (this month).
It is always nice to have alternative implementation but if you can await for some couple of weeks, the Cargocut group will released it soon
Not for the moment but the two creators of Biscuit leaves in my city and I was thinking (with others friends related to the Cargo Cut organisation) that it could be nice to have proper tokens between services… like Mirage OS application