Skip to content

Commit

Permalink
Move all shared metadata to the workspace Cargo.toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed Jun 17, 2024
1 parent 34755ea commit e7d23c9
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 14 deletions.
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
[workspace]
members = ["include_dir", "macros"]
resolver = "2"

[workspace.package]
edition = "2021"
rust-version = "1.56"
license = "MIT"
readme = "README.md"
version = "0.7.3"
authors = ["Michael Bryan <michaelfbryan@gmail.com>"]
repository = "https://github.com/Michael-F-Bryan/include_dir"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# include_dir

[![Continuous Integration](https://github.com/Michael-F-Bryan/include_dir/actions/workflows/main.yml/badge.svg)](https://github.com/Michael-F-Bryan/include_dir/actions/workflows/main.yml)
[![license](https://img.shields.io/github/license/Michael-F-Bryan/include_dir.svg)](LICENSE)
[![license](https://img.shields.io/github/license/Michael-F-Bryan/include_dir.svg)](./LICENSE)
[![Crates.io](https://img.shields.io/crates/v/include_dir.svg)](https://crates.io/crates/include_dir)
[![Docs.rs](https://docs.rs/include_dir/badge.svg)](https://docs.rs/include_dir/)

Expand Down
14 changes: 7 additions & 7 deletions include_dir/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
authors = ["Michael Bryan <michaelfbryan@gmail.com>"]
name = "include_dir"
version = "0.7.3"
description = "Embed the contents of a directory in your binary"
license = "MIT"
readme = "README.md"
keywords = ["assets", "include", "embed", "dir"]
repository = "https://github.com/Michael-F-Bryan/include_dir"
categories = ["development-tools", "web-programming", "game-engines"]
edition = "2021"
rust-version = "1.56"
authors.workspace = true
edition.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[dependencies]
glob = { version = "0.3", optional = true }
Expand Down
13 changes: 7 additions & 6 deletions macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[package]
name = "include_dir_macros"
version = "0.7.3"
description = "The procedural macro used by include_dir"
authors = ["Michael Bryan <michaelfbryan@gmail.com>"]
repository = "https://github.com/Michael-F-Bryan/include_dir"
license = "MIT"
edition = "2021"
rust-version = "1.56"
authors.workspace = true
edition.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true

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

Expand Down

0 comments on commit e7d23c9

Please sign in to comment.