face-hh / webx

An alternative for the World Wide Web - browse websites such as buss://yippie.rizz made in HTML, CSS and Lua. Custom web browser, custom HTML rendering engine, custom search engine, and more.
Apache License 2.0
1.67k stars 155 forks source link

Add Cargo.lock to .gitignore files #178

Closed 0xnim closed 3 weeks ago

0xnim commented 3 weeks ago

Just adding Cargo.lock to the gitignore files.

Linker-123 commented 3 weeks ago

Cargo.lock should be committed to the repository for binaries.

0xnim commented 3 weeks ago

oh

0xnim commented 3 weeks ago

@Linker-123 https://github.com/github/gitignore/blob/main/Rust.gitignore

Linker-123 commented 3 weeks ago

@0xnim read the line above, it literally says:

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
0xnim commented 3 weeks ago

what changes in the executable

0xnim commented 3 weeks ago

i understood its wrong

0xnim commented 3 weeks ago

but what changes?

0xnim commented 3 weeks ago

@Linker-123

Linker-123 commented 3 weeks ago

This is used to lock library versions in place, for more you can read: https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html