Skip to content

Commit

Permalink
rework crate doc & README
Browse files Browse the repository at this point in the history
migrate to README.tpl to use with `cargo readme`
  • Loading branch information
gwen-lg committed Jul 12, 2024
1 parent 70eb556 commit 13fdc7c
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 11 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ categories = [
]
license = "LGPL-3.0-or-later"

[badges]
maintenance = { status = "actively-developed" }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lints.clippy]
Expand Down
8 changes: 0 additions & 8 deletions README.md

This file was deleted.

11 changes: 11 additions & 0 deletions README.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# {{crate}}
## Current version: {{version}}

{{badges}}
[![crates.io](https://img.shields.io/crates/v/{{crate}}.svg)](https://crates.io/crates/{{crate}})
[![docs.rs](https://docs.rs/{{crate}}/badge.svg)](https://docs.rs/{{crate}}/)
[![dependency status](https://deps.rs/crate/{{crate}}/{{version}}/status.svg)](https://deps.rs/crate/{{crate}}/{{version}})

{{readme}}

## License : {{license}}
16 changes: 13 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
//! This crate attempt to provide utilities to parse subtitles.
//! Work is started from vobsub [crates.io](https://crates.io/crates/vobsub),
//! [repository](https://github.com/emk/subtitles-rs) which no longer seems to be maintained.
//! `subtile` is a Rust library which aims to propose a set of operations
//! for working on subtitles. Example: parsing from and export in different formats,
//! transform, adjust, correct, ...
//!
//! # Project
//! ## start
//! The project started with the fork of [vobsub](https://crates.io/crates/vobsub)
//! crate which no longer seems to be maintained.
//! Beyond the simple recovery, I want to take the opportunity to improve the code
//! and extend the provided features.
//!
//! ## Name
//! `Subtile` is a french word than fit well as contraction of Subtitles Utils.
//!
//! ## Contributing
//!
Expand Down

0 comments on commit 13fdc7c

Please sign in to comment.