Skip to content

Crate on crates.io is outdated #231

Closed

Description

@campfireman

Hey,
thanks for creating this ecosystem! I discovered it yesterday and it checks all of my boxes, really nice.

While creating a docker image for deployment at home I realized the crate on crates.io is still at 0.12.2: https://crates.io/crates/cookcli while the newest release it at 0.19.2

Is there some issue with the release? I'm happy to help with gruntwork etc. even though I am a complete rust noob ^^

Activity

  1. dubadub commented on Jan 4, 2026

    @dubadub
    Member

    Just published latest to crates.io. Also added into release pipeline e42ed51 to not forget for next time

  2. campfireman commented on Jan 5, 2026

    @campfireman
    Author

    Thanks for the quick help @dubadub ! When I pull the crate there is no output.css contained so the webui does not work properly:

    Image

    Investigation of crate:

    curl -L -o cookcli-0.19.3.crate https://crates.io/api/v1/crates/cookcli/0.19.3/download
    tar -xvf cookcli-0.19.3.crate
    ls -la cookcli-0.19.3/static/css

    The action you added in e42ed51 contains the npm run build-css so it should be there. Did you upload 0.19.3 manually and forgot the CSS stuff?

  3. dubadub commented on Jan 5, 2026

    @dubadub
    Member

    I did upload manually as it was after I published the release, sorry about that.

  4. campfireman commented on Jan 7, 2026

    @campfireman
    Author

    No worries! Because the build of this project is so refreshingly simple, I will use this Dockerfile for now:

    FROM node:18-slim AS ui-builder
    WORKDIR /src
    RUN apt-get update && apt-get install -y git
    RUN git clone https://github.com/cooklang/cookcli.git .
    RUN npm install && npm run build-css
    
    FROM rust:1.92-trixie AS builder
    WORKDIR /app
    COPY --from=ui-builder /src .
    RUN cargo build --release
    
    FROM rust:1.92-trixie
    
    COPY --from=builder /app/target/release/cook /usr/local/bin/cook
    
    WORKDIR /recipes
    EXPOSE 9080
    ENTRYPOINT ["cook", "server", "--host"]
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions