- To build: download
rustand runcargo build. This builds a dynamically linkable library intarget/debug; to build a release build (much faster) runcargo build --release - To test: run
cargo test
- Can be found inside of
src/bayesian_network.rs - Includes interfaces for building Bayesian networks, compiling them, and querying them
- Can be found in
src/lib.rs - An example of building is found in the
c/subdirectory, which has a makefile for building and linking against anrsbnbuild - See
c/rsbn.hfor the API. This is automatically generated based onsrc/lib.rsusingcbindgen; to regenerate it (if the rust API changes), callcbindgen --crate rsbn --output c/rsbn.h