possum-db 0.3.1

concurrent disk-backed cache supporting efficient direct file I/O, transactions, and snapshots using file cloning and sparse files
Documentation
# This builds in Linux. Unfortunately Docker's overlay fs doesn't seem to support file cloning.

FROM alpine

RUN apk add rustup
RUN rustup-init -y --profile minimal

RUN apk add gcc musl-dev

WORKDIR /app

COPY Cargo.* .
COPY src src
COPY benches benches
COPY manifest.sql .

RUN --mount=type=cache,target=/root/.cargo/registry \
	--mount=type=cache,target=/root/.cargo/git \
	--mount=type=cache,target=/app/target \
	. ~/.cargo/env && RUST_BACKTRACE=1 cargo test