bb-sys 0.2.0

FFI bindings to Barretenberg
# Based on https://github.com/direnv/direnv-vscode/blob/158e8302c2594cc0eaa5f8b4f0cafedd4e1c0315/.envrc

# You can define your system-specific logic (like Git settings or GH tokens) in .envrc.local
# If that logic is usable by other people and might improve development environment, consider
# contributing it to this file!

source_env_if_exists .envrc.local

if [[ -z "${SKIP_NIX:-}" ]] && has nix; then

	if nix flake metadata &>/dev/null && has use_flake; then
		# use flakes if possible
		use flake

	else
		# Otherwise fall back to pure nix
		use nix
	fi

fi