From 1ac7958f38123998dde90ab8da1cca50e7e94cce Mon Sep 17 00:00:00 2001 From: "Shahar \"Dawn\" Or" Date: Fri, 25 Aug 2023 22:11:09 +0700 Subject: [PATCH] build: macro crate inherits most keys --- Cargo.toml | 24 +++++++++++++----------- macro/Cargo.toml | 22 +++++++--------------- 2 files changed, 20 insertions(+), 26 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fd428f6..a3ad81c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,18 @@ [package] name = "michie" +include = [ + "/README.md", + "/src/**/*.rs", + "/tests/**/*.rs", + "/tests/compile_fail/*.stderr" +] + +[workspace] +members = [ + "macro" +] + +[workspace.package] version = "3.0.2" edition = "2021" description = "An attribute macro that adds memoization to a function (sounds like Mickey)" @@ -15,17 +28,6 @@ keywords = [ categories = [ "caching", ] -include = [ - "/README.md", - "/src/**/*.rs", - "/tests/**/*.rs", - "/tests/compile_fail/*.stderr" -] - -[workspace] -members = [ - "macro" -] [dependencies] michie-macro = { path = "macro", version = "3.0.2" } diff --git a/macro/Cargo.toml b/macro/Cargo.toml index 5c45d9f..3b22a1d 100644 --- a/macro/Cargo.toml +++ b/macro/Cargo.toml @@ -1,20 +1,12 @@ [package] name = "michie-macro" -version = "3.0.2" -edition = "2021" -description = "proc-macro crate for the michie crate" -repository = "https://github.com/mobusoperandi/michie" -license = "MIT" -keywords = [ - "memoization", - "memoisation", - "memoize", - "memoise", - "cache", -] -categories = [ - "caching", -] +version.workspace = true +edition.workspace = true +description.workspace = true +repository.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true include = [ "/README.md", "/src/**/*.rs",