Skip to content

Commit 0473a98

Browse files
authored
fix: Correct readme paths when building crate (#7)
1 parent 94f5853 commit 0473a98

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ authors = ["Jagoda Estera Ślązak <jslazak@jslazak.com>"]
88
license = "MIT OR Apache-2.0"
99
edition = "2024"
1010
repository = "https://github.com/j-g00da/serde-more"
11+
readme = "README.md"
1112

1213
[workspace.dependencies]
1314
serde = "1"

serde_more/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "serde_more"
33
description = "Procedural macro to add arbitrary data when serializing using serde"
44
categories = ["encoding", "no-std", "no-std::no-alloc"]
55
keywords = ["serde", "serialization"]
6-
readme = "../README.md"
6+
readme.workspace = true
77
version.workspace = true
88
authors.workspace = true
99
license.workspace = true

serde_more/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../README.md

serde_more/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc = include_str!("../../README.md")]
1+
#![doc = include_str!("../README.md")]
22
#![no_std]
33

44
pub use serde_more_derive::SerializeMore;

0 commit comments

Comments
 (0)