#version-control #fossil #libfossil

bin+lib libfossil-rs-ffi

Bindgen-generated FFI bindings to libfossil

1 unstable release

0.1.0 Jul 3, 2024

#159 in FFI


Used in libfossil-rs

Custom license

680KB
23K SLoC

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.

Dependencies

~0–1.9MB
~38K SLoC