Skip to content

Commit

Permalink
Add extra metadata to Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantomical committed Feb 2, 2024
1 parent 333ae28 commit d54f63b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ version = "0.1.0"
edition = "2021"
license = "MIT or Apache-2.0"

readme = "README.md"
repository = "https://github.com/phantomical/serde_dbgfmt"
categories = ["encoding", "parser-implementations"]
description = "Deserialize #[derive(Debug)] output using serde"
rust-version = "1.67"

[dependencies]
serde = "1.0"
unicode-ident = "1.0.12"
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
[![](https://img.shields.io/docsrs/v/serde_dbgfmt)](https://docs.rs/serde_dbgfmt)
[![ci](https://github.com/Phantomical/serde_dbgfmt/actions/workflows/ci.yaml/badge.svg)](https://github.com/Phantomical/serde_dbgfmt/actions/workflows/ci.yaml)

Deserialize the output of `Debug` into any type which implements `Deserialize`.
Deserialize the output of `#[derive(Debug)]` using `serde`.

This library allows you to deserialize the debug representation of rust types
via `serde`. This includes all types which use `#[derive(Debug)]` but also any
other ones that use the debug helpers in `std::fmt` to output their debug
representation.

# Example
```rust
Expand Down

0 comments on commit d54f63b

Please sign in to comment.