~cgenie/libfossil-rs-ffi

Rust FFI bindings to libfossil
832796bb — Przemysław Kaminski 6 months ago
Some main.rs cleanup
317371a6 — Przemysław Kaminski 6 months ago
README updated with links to other projects
7625697c — Przemysław Kaminski 6 months ago
Cleanup before publishing

clone

read-only
https://git.sr.ht/~cgenie/libfossil-rs-ffi
read/write
git@git.sr.ht:~cgenie/libfossil-rs-ffi

You can also use your local clone with git send-email.

#libfossil-rs-ffi

This is a Rust crate containing raw FFI bindings to libfossil.

I'm using nix flakes to bootstrap the dev environment:

nix -L develop

(or just direnv alow if you happen to use direnv).

Run the simple program with:

cargo run -- /path/to/your/fossil/repo

(it just prints out some info about your repository and tries to check in files, so you might want to create some ad-hoc fossil repo for testing).

For somewhat higher-level bindings see `libfossil-rs'.

Also, my irc_logger uses these bindings.