Crates.io | libfossil-rs-ffi |
lib.rs | libfossil-rs-ffi |
version | 0.1.0 |
source | src |
created_at | 2024-07-03 16:49:25.668332 |
updated_at | 2024-07-03 16:49:25.668332 |
description | Bindgen-generated FFI bindings to libfossil |
homepage | https://git.sr.ht/~cgenie/libfossil-rs-ffi |
repository | https://git.sr.ht/~cgenie/libfossil-rs-ffi |
max_upload_size | |
id | 1290710 |
size | 729,531 |
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.