Skip to content

include Cargo.lock #1

@docteurklein

Description

@docteurklein

Hello and thanks for this extension, very useful!

I wanted to package this in nix, but the absence of Cargo.lock in git complicated the process (https://github.com/docteurklein/httpg/blob/8b9f2de81292dff2adfd4de9af32ac60565d87ce/flake.nix#L37-L39).

Is there a specific reason for not including it?
I read:

which states that the lock file will be ignored by cargo unless explicitly given a --locked flag to cargo build for example,
which is what you do already in the GH workflows and in the README, so it means you have an unversionned lock file anyway, AFAICT.

In conclusion, adding the lock file to git would simplify everyone's life apparently :)

Just wanted to check if it's OK with you before sending an eventual PR or being convinced otherwise.

In any case, have a good day :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions