From a9e4b0a1e84825004fa66e938b870f83d3147d0d Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Thu, 17 Jun 2021 18:04:29 +0900 Subject: [PATCH] Cleanup cargo metadata --- phf/Cargo.toml | 1 + phf_codegen/Cargo.toml | 1 + phf_generator/Cargo.toml | 1 + phf_macros/Cargo.toml | 2 ++ 4 files changed, 5 insertions(+) diff --git a/phf/Cargo.toml b/phf/Cargo.toml index 2ed0c296..a16772c2 100644 --- a/phf/Cargo.toml +++ b/phf/Cargo.toml @@ -6,6 +6,7 @@ license = "MIT" description = "Runtime support for perfect hash function data structures" repository = "https://github.com/sfackler/rust-phf" edition = "2018" +readme = "../README.md" [lib] name = "phf" diff --git a/phf_codegen/Cargo.toml b/phf_codegen/Cargo.toml index d7f20cbe..f9107ad0 100644 --- a/phf_codegen/Cargo.toml +++ b/phf_codegen/Cargo.toml @@ -6,6 +6,7 @@ license = "MIT" description = "Codegen library for PHF types" repository = "https://github.com/sfackler/rust-phf" edition = "2018" +readme = "../README.md" [dependencies] phf_generator = "0.8.0" diff --git a/phf_generator/Cargo.toml b/phf_generator/Cargo.toml index 96c93047..9dc9001c 100644 --- a/phf_generator/Cargo.toml +++ b/phf_generator/Cargo.toml @@ -6,6 +6,7 @@ license = "MIT" description = "PHF generation logic" repository = "https://github.com/sfackler/rust-phf" edition = "2018" +include = ["src/**/*"] [dependencies] rand = { version = "0.8", features = ["small_rng"] } diff --git a/phf_macros/Cargo.toml b/phf_macros/Cargo.toml index 282896ee..e2841707 100644 --- a/phf_macros/Cargo.toml +++ b/phf_macros/Cargo.toml @@ -6,6 +6,8 @@ edition = "2018" license = "MIT" description = "Macros to generate types in the phf crate" repository = "https://github.com/sfackler/rust-phf" +readme = "../README.md" +include = ["src/lib.rs"] [lib] proc-macro = true