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.86k stars 152 forks source link

Add Cargo.lock to .gitignore files #178

Closed 0xnim closed 5 months ago

0xnim commented 5 months ago

Just adding Cargo.lock to the gitignore files.

ghost commented 5 months ago

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

0xnim commented 5 months ago

oh

0xnim commented 5 months ago

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

ghost commented 5 months ago

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

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

what changes in the executable

0xnim commented 5 months ago

i understood its wrong

0xnim commented 5 months ago

but what changes?

0xnim commented 5 months ago

@Linker-123

ghost commented 5 months 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