- Added Cargo.toml for project configuration and dependencies. - Created main.rs as the entry point for the VCS CLI application. - Implemented command structure using Clap for parsing CLI arguments. - Developed repository initialization and object storage functionality. - Implemented staging of files and committing changes with message. - Added functionality to view commit history and status of the working directory. - Implemented object model for blobs, trees, and commits with serialization and deserialization. - Created a low-level object store for reading and writing compressed object files. - Implemented tree building and flattening for managing file structure in commits.
15 lines
273 B
TOML
15 lines
273 B
TOML
[package]
|
|
name = "version"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[[bin]]
|
|
name = "vcs"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["derive"] }
|
|
sha1 = "0.10"
|
|
flate2 = "1.0"
|
|
hex = "0.4"
|
|
chrono = { version = "0.4", features = ["clock"] }
|