Biscuit token binding

Hi,

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?

Thanks

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 :slight_smile:

hi @xvw,
that’s awesome news
You are using biscuit token in a microservice environment with OCaml for some time then?

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 :slight_smile:

Hey @xvw ,
sounds very interesting to use it with Mirage OS :slight_smile:
If any early testing of the Biscuit package can help, I would be more than happy to do so :slight_smile: