Skip to content

Commit b61ffa9

Browse files
authored
Merge pull request #6 from eugener/develop
Update `chrono` dependency to secure version 0.4.42. Add badges to readme
2 parents 4bc5e21 + a981a6b commit b61ffa9

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustic-git"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
edition = "2024"
55
license = "MIT"
66
description = "A Rustic Git - clean type-safe API over git cli"
@@ -11,4 +11,4 @@ keywords = ["git", "vcs", "repository", "cli", "rust"]
1111
categories = ["command-line-utilities", "development-tools"]
1212

1313
[dependencies]
14-
chrono = { version = "0.4", features = ["serde"] }
14+
chrono = { version = "0.4.42", features = ["serde"] }

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
A Rust library for Git repository operations with a clean, type-safe API.
44

5+
![Build](https://github.com/eugener/rustic-git/actions/workflows/ci.yml/badge.svg)
6+
[![Crates.io](https://img.shields.io/crates/v/rustic-git.svg)](https://crates.io/crates/rustic-git)
7+
[![Downloads](https://img.shields.io/crates/d/rustic-git.svg)](https://crates.io/crates/rustic-git)
8+
[![Docs.rs](https://docs.rs/rustic-git/badge.svg)](https://docs.rs/rustic-git)
9+
![Rust Version](https://img.shields.io/badge/rustc-1.89+-blue.svg)
10+
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
11+
[![dependency status](https://deps.rs/repo/github/eugener/rustic-git/status.svg)](https://deps.rs/repo/github/eugener/rustic-git)
12+
513
## Overview
614

715
Rustic Git provides a simple, ergonomic interface for common Git operations. It follows a repository-centric design where you create a `Repository` instance and call methods on it to perform Git operations.
@@ -717,7 +725,7 @@ fn main() -> rustic_git::Result<()> {
717725

718726
// Configure git user for commits
719727
repo.config().set_user("Your Name", "[email protected]")?;
720-
728+
721729
// Set some additional repository settings
722730
repo.config().set("core.autocrlf", "false")?;
723731
repo.config().set("pull.rebase", "true")?;
@@ -798,7 +806,7 @@ fn main() -> rustic_git::Result<()> {
798806
// Display final configuration
799807
let (user_name, user_email) = repo.config().get_user()?;
800808
println!("Repository configured for: {} <{}>", user_name, user_email);
801-
809+
802810
let autocrlf = repo.config().get("core.autocrlf")?;
803811
let rebase_setting = repo.config().get("pull.rebase")?;
804812
println!("Settings: autocrlf={}, pull.rebase={}", autocrlf, rebase_setting);

0 commit comments

Comments
 (0)