clob-sync 0.1.2

A synchronous, high-performance Central Limit Order Book implementation in Rust featuring an in-memory architecture with zero-cost abstractions and type-safe financial primitives for ultra-low latency trading applications.
Documentation
# both devcli and rust must inhret from the same build container
# both extend jfaleiro/build:v0.1.3
FROM jfaleiro/devcli:v0.1.7 as devcli 

FROM jfaleiro/rust:v0.2.1

# new files to current image, hopefully not overriding anything
COPY --from=devcli / /

# RUN rustup component add rust-analyzer
# RUN rust-analyzer --version
# RUN which rust-analyzer

# opencode installation
ENV SHELL=/usr/bin/zsh
RUN curl -fsSL https://opencode.ai/install | bash

# additional binstall dependencies
RUN cargo binstall --disable-telemetry --locked -y \
    cargo-msrv 

# remove when this issue is closed: https://github.com/jfaleiro/container-rust/issues/14
# RUN rustup update stable
# RUN rustup default stable
# RUN rustup component add rustfmt clippy

# ENV DEBIAN_FRONTEND=noninteractive
# RUN apt-get clean \
#     && apt-get update \
#     && apt-get install --no-install-recommends -y \
#     zsh \
#     gh \
#     openssh-client \
#     && echo "cleaning up..." \
#     && apt-get autoremove -y \
#     && apt-get clean -y \
#     && rm -rf /var/lib/apt/lists/*

# see https://github.com/ohmyzsh/ohmyzsh/wiki
# RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended

# ENV DEBIAN_FRONTEND=dialog \
#     LANG=C.UTF-8 \
#     LC_ALL=C.UTF-8

# INCLUDE https://github.com/jfaleiro/container-devcli/blob/v0.1.5/Dockerfile
# INCLUDE devcli.Dockerfile