an efficient binary archive format
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

move bindle.h to include/bindle.h

zach 1fd7eb52 2c93f9d1

+8 -4
+5 -1
README.md
··· 1 1 # bindle-file 2 2 3 - `bindle` is a general purpose, append only archive file format 3 + `bindle` is a general purpose, multi-file archive format with support for zstd and direct reads for uncompressed values. 4 + 5 + This repository contains `bindle-file` for Rust, which can also be used to build C libraries in 6 + `target/release/libbindle_file.a` and `target/release/libbindle_file.so`. `c/bindle.c` can also 7 + be used as a drop-in replacement for the Rust implementation in C projects. 4 8
bindle.h include/bindle.h
+1 -1
build.rs
··· 12 12 .with_config(config) 13 13 .generate() 14 14 .expect("Unable to generate bindings") 15 - .write_to_file(PathBuf::from(crate_dir).join("bindle.h")); 15 + .write_to_file(PathBuf::from(crate_dir).join("include/bindle.h")); 16 16 }
+1 -1
c/Makefile
··· 4 4 5 5 6 6 check: 7 - clang -I .. -o bindle_c bindle-cli.c bindle.c `pkg-config --cflags --libs libzstd` 7 + clang -I ../include -o bindle_c bindle-cli.c bindle.c `pkg-config --cflags --libs libzstd` 8 8
+1 -1
c/bindle-cli.c
··· 1 - #include "../bindle.h" 1 + #include "bindle.h" 2 2 #include <stdio.h> 3 3 #include <stdlib.h> 4 4 #include <string.h>