Skip to content

Commit

Permalink
remove unnecessary metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
makspll committed Mar 5, 2024
1 parent 17cf228 commit bb93162
Show file tree
Hide file tree
Showing 12 changed files with 63 additions and 113 deletions.
18 changes: 8 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,14 @@ name = "bevy_mod_scripting"
path = "src/lib.rs"

[package.metadata."docs.rs"]
features = ["lua", "lua54", "rhai", "lua_script_api", "rhai_script_api", "teal", "rune"]

[package.metadata.release]
pre-release-replacements = [
{ file = "Cargo.toml", search = '^version\s*=\s*.*$', replace = "version = \"{{version}}\"", exactly = 1 },
{ file = "Cargo.toml", search = '^(?P<h>bevy_mod_scripting_core\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace = "${h}version = \"{{version}}\"${t}", exactly = 1 },
{ file = "Cargo.toml", search = '^(?P<h>bevy_mod_scripting_lua\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace = "${h}version = \"{{version}}\"${t}", exactly = 1 },
{ file = "Cargo.toml", search = '^(?P<h>bevy_mod_scripting_rhai\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace = "${h}version = \"{{version}}\"${t}", exactly = 1 },
{ file = "Cargo.toml", search = '^(?P<h>bevy_mod_scripting_rune\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace = "${h}version = \"{{version}}\"${t}", exactly = 1 },
{ file = "Cargo.toml", search = '^(?P<h>bevy_script_api\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace = "${h}version = \"{{version}}\"${t}", exactly = 1 },
features = [
"lua",
"lua54",
"rhai",
"lua_script_api",
"rhai_script_api",
"teal",
"rune",
]

[features]
Expand Down
9 changes: 2 additions & 7 deletions bevy_api_gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,10 @@ license = "MIT"
description = "A code generator creating macro invocations to support the changing bevy API"
repository = "https://github.com/makspll/bevy_mod_scripting"
homepage = "https://github.com/makspll/bevy_mod_scripting"
keywords = ["bevy", "gamedev", "scripting", "lua","code-generation"]
keywords = ["bevy", "gamedev", "scripting", "lua", "code-generation"]
categories = ["game-development"]
readme = "readme.md"

[package.metadata.release]
pre-release-replacements = [
{file="Cargo.toml", search='^version\s*=\s*.*$', replace="version = \"{{version}}\"", exactly=1},
]

[lib]
name = "bevy_api_gen_lib"
path = "src/lib.rs"
Expand All @@ -32,4 +27,4 @@ serde_json = "1.0.81"
toml = "0.5.9"
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0.137"
indexmap = {version= "1.9.1", features= ["serde"]}
indexmap = { version = "1.9.1", features = ["serde"] }
7 changes: 1 addition & 6 deletions bevy_event_priority/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,10 @@ keywords = ["bevy", "gamedev", "scripting", "lua"]
categories = ["game-development"]
readme = "readme.md"

[package.metadata.release]
pre-release-replacements = [
{file="Cargo.toml", search='^version\s*=\s*.*$', replace="version = \"{{version}}\"", exactly=1},
]

[lib]
name = "bevy_event_priority"
path = "src/lib.rs"

[dependencies]
bevy = { version = "0.12", default-features = false}

bevy = { version = "0.12", default-features = false }
9 changes: 2 additions & 7 deletions bevy_mod_scripting_common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,16 @@ keywords = ["bevy", "gamedev", "scripting", "lua"]
categories = ["game-development"]
readme = "readme.md"

[package.metadata.release]
pre-release-replacements = [
{file="Cargo.toml", search='^version\s*=\s*.*$', replace="version = \"{{version}}\"", exactly=1},
]

[lib]
name = "bevy_mod_scripting_common"
path = "src/lib.rs"

[dependencies]
paste = "1.0.7"
syn = {version="1.0.57",features=["full","fold","extra-traits"]}
syn = { version = "1.0.57", features = ["full", "fold", "extra-traits"] }
quote = "1.0.8"
proc-macro2 = "1.0"
convert_case = "0.5.0"
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0.137"
indexmap = {version= "1.9.1", features= ["serde"]}
indexmap = { version = "1.9.1", features = ["serde"] }
25 changes: 13 additions & 12 deletions bevy_mod_scripting_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ keywords = ["bevy", "gamedev", "scripting", "lua"]
categories = ["game-development"]
readme = "readme.md"


[package.metadata.release]
pre-release-replacements = [
{file="Cargo.toml", search='^version\s*=\s*.*$', replace="version = \"{{version}}\"", exactly=1},
{file="Cargo.toml", search='^(?P<h>bevy_event_priority\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace="${h}version = \"{{version}}\"${t}", exactly=1},
]


[lib]
name = "bevy_mod_scripting_core"
path = "src/lib.rs"
Expand All @@ -29,10 +21,19 @@ doc_always = []


[dependencies]
bevy = { version = "0.12", default-features = false, features=["bevy_asset","bevy_gltf","bevy_animation","bevy_core_pipeline","bevy_ui","bevy_pbr","bevy_render","bevy_text","bevy_sprite"]}
bevy_event_priority = {path = "../bevy_event_priority", version = "0.4.0" }
bevy = { version = "0.12", default-features = false, features = [
"bevy_asset",
"bevy_gltf",
"bevy_animation",
"bevy_core_pipeline",
"bevy_ui",
"bevy_pbr",
"bevy_render",
"bevy_text",
"bevy_sprite",
] }
bevy_event_priority = { path = "../bevy_event_priority", version = "0.4.0" }
thiserror = "1.0.31"
paste = "1.0.7"
parking_lot = "0.12.1"
anyhow ="1.0.75"

anyhow = "1.0.75"
12 changes: 3 additions & 9 deletions bevy_mod_scripting_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,20 @@ keywords = ["bevy", "gamedev", "scripting", "lua"]
categories = ["game-development"]
readme = "readme.md"

[package.metadata.release]
pre-release-replacements = [
{file="Cargo.toml", search='^version\s*=\s*.*$', replace="version = \"{{version}}\"", exactly=1},
{file="Cargo.toml", search='^(?P<h>bevy_mod_scripting_common\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace="${h}version = \"{{version}}\"${t}", exactly=1},
]

[lib]
name = "bevy_mod_scripting_derive"
proc-macro = true
path = "src/lib.rs"


[dependencies]
bevy_mod_scripting_common = {path = "../bevy_mod_scripting_common", version = "0.4.0" }
bevy_mod_scripting_common = { path = "../bevy_mod_scripting_common", version = "0.4.0" }
paste = "1.0.7"
syn = {version="1.0.57",features=["full","fold","extra-traits"]}
syn = { version = "1.0.57", features = ["full", "fold", "extra-traits"] }
quote = "1.0.8"
proc-macro2 = "1.0"
convert_case = "0.5.0"
rustdoc-types = "0.11.0"
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0.137"
indexmap = {version= "1.9.1", features= ["serde"]}
indexmap = { version = "1.9.1", features = ["serde"] }
42 changes: 21 additions & 21 deletions bevy_script_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,32 @@ license = "MIT"
description = "Bevy API for multiple script languages, part of bevy_mod_scripting."
repository = "https://github.com/makspll/bevy_mod_scripting"
homepage = "https://github.com/makspll/bevy_mod_scripting"
keywords = ["bevy", "gamedev", "scripting", "lua","rhai"]
keywords = ["bevy", "gamedev", "scripting", "lua", "rhai"]
categories = ["game-development"]
readme = "readme.md"

[package.metadata.release]
pre-release-replacements = [
{ file = "Cargo.toml", search='^version\s*=\s*.*$', replace="version = \"{{version}}\"", exactly=1},
{ file = "Cargo.toml", search='^(?P<h>bevy_mod_scripting_derive\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace="${h}version = \"{{version}}\"${t}", exactly=1},
{ file = "Cargo.toml", search='^(?P<h>bevy_mod_scripting_core\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace="${h}version = \"{{version}}\"${t}", exactly=1},
{ file = "Cargo.toml", search='^(?P<h>bevy_mod_scripting_lua\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace="${h}version = \"{{version}}\"${t}", exactly=1},
{ file = "Cargo.toml", search='^(?P<h>bevy_mod_scripting_lua_derive\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace="${h}version = \"{{version}}\"${t}", exactly=1},
{ file = "Cargo.toml", search='^(?P<h>bevy_mod_scripting_rhai\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace="${h}version = \"{{version}}\"${t}", exactly=1},
]

[features]
lua = ["bevy_mod_scripting_lua","bevy_mod_scripting_lua_derive"]
lua = ["bevy_mod_scripting_lua", "bevy_mod_scripting_lua_derive"]
rhai = ["bevy_mod_scripting_rhai"]

[dependencies]
bevy = { version = "0.12", default-features = false, features=["bevy_asset","bevy_gltf","bevy_animation","bevy_core_pipeline","bevy_ui","bevy_pbr","bevy_render","bevy_text","bevy_sprite"]}
bevy_mod_scripting_derive = { path="../bevy_mod_scripting_derive", version = "0.4.0" }
bevy_mod_scripting_core = { path="../bevy_mod_scripting_core", version = "0.4.0" }
parking_lot="0.12.1"
paste="1.0.7"
thiserror="1.0.32"
bevy = { version = "0.12", default-features = false, features = [
"bevy_asset",
"bevy_gltf",
"bevy_animation",
"bevy_core_pipeline",
"bevy_ui",
"bevy_pbr",
"bevy_render",
"bevy_text",
"bevy_sprite",
] }
bevy_mod_scripting_derive = { path = "../bevy_mod_scripting_derive", version = "0.4.0" }
bevy_mod_scripting_core = { path = "../bevy_mod_scripting_core", version = "0.4.0" }
parking_lot = "0.12.1"
paste = "1.0.7"
thiserror = "1.0.32"
# lua
bevy_mod_scripting_lua={path="../languages/bevy_mod_scripting_lua", version = "0.4.0", optional=true}
bevy_mod_scripting_lua_derive={path="../languages/bevy_mod_scripting_lua_derive", version = "0.4.0", optional=true}
bevy_mod_scripting_rhai={path="../languages/bevy_mod_scripting_rhai", version = "0.4.0", optional=true}
bevy_mod_scripting_lua = { path = "../languages/bevy_mod_scripting_lua", version = "0.4.0", optional = true }
bevy_mod_scripting_lua_derive = { path = "../languages/bevy_mod_scripting_lua_derive", version = "0.4.0", optional = true }
bevy_mod_scripting_rhai = { path = "../languages/bevy_mod_scripting_rhai", version = "0.4.0", optional = true }
6 changes: 1 addition & 5 deletions languages/bevy_mod_scripting_lua/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ readme = "readme.md"
features = ["lua54"]

[package.metadata.release]
pre-release-replacements = [
{ file = "Cargo.toml", search = '^version\s*=\s*.*$', replace = "version = \"{{version}}\"", exactly = 1 },
{ file = "Cargo.toml", search = '^(?P<h>bevy_mod_scripting_core\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace = "${h}version = \"{{version}}\"${t}", exactly = 1 },
]
enable-features = ["lua54"]

[features]
Expand Down Expand Up @@ -52,4 +48,4 @@ tealr = { version = "0.9", features = [
] }
parking_lot = "0.12.1"
serde_json = "1.0.81"
anyhow = "1.0.75"
anyhow = "1.0.75"
18 changes: 6 additions & 12 deletions languages/bevy_mod_scripting_lua_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,19 @@ keywords = ["bevy", "gamedev", "scripting", "rhai"]
categories = ["game-development"]
readme = "readme.md"

[package.metadata.release]
pre-release-replacements = [
{file="Cargo.toml", search='^version\s*=\s*.*$', replace="version = \"{{version}}\"", exactly=1},
{file="Cargo.toml", search='^(?P<h>bevy_mod_scripting_common\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace="${h}version = \"{{version}}\"${t}", exactly=1},
]

[lib]
name="bevy_mod_scripting_lua_derive"
path="src/lib.rs"
proc-macro=true
name = "bevy_mod_scripting_lua_derive"
path = "src/lib.rs"
proc-macro = true

[dependencies]
bevy_mod_scripting_common = {path = "../../bevy_mod_scripting_common", version = "0.4.0" }
bevy_mod_scripting_common = { path = "../../bevy_mod_scripting_common", version = "0.4.0" }
paste = "1.0.7"
syn = {version="1.0.57",features=["full","fold","extra-traits"]}
syn = { version = "1.0.57", features = ["full", "fold", "extra-traits"] }
quote = "1.0.8"
proc-macro2 = "1.0"
convert_case = "0.5.0"
rustdoc-types = "0.11.0"
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0.137"
indexmap = {version= "1.9.1", features= ["serde"]}
indexmap = { version = "1.9.1", features = ["serde"] }
6 changes: 0 additions & 6 deletions languages/bevy_mod_scripting_rhai/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ keywords = ["bevy", "gamedev", "scripting", "rhai"]
categories = ["game-development"]
readme = "readme.md"

[package.metadata.release]
pre-release-replacements = [
{ file = "Cargo.toml", search = '^version\s*=\s*.*$', replace = "version = \"{{version}}\"", exactly = 1 },
{ file = "Cargo.toml", search = '^(?P<h>bevy_mod_scripting_core\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace = "${h}version = \"{{version}}\"${t}", exactly = 1 },
]

[lib]
name = "bevy_mod_scripting_rhai"
path = "src/lib.rs"
Expand Down
18 changes: 6 additions & 12 deletions languages/bevy_mod_scripting_rhai_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,19 @@ keywords = ["bevy", "gamedev", "scripting", "rhai"]
categories = ["game-development"]
readme = "readme.md"

[package.metadata.release]
pre-release-replacements = [
{file="Cargo.toml", search='^version\s*=\s*.*$', replace="version = \"{{version}}\"", exactly=1},
{file="Cargo.toml", search='^(?P<h>bevy_mod_scripting_common\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace="${h}version = \"{{version}}\"${t}", exactly=1},
]

[lib]
name="bevy_mod_scripting_rhai_derive"
path="src/lib.rs"
proc-macro=true
name = "bevy_mod_scripting_rhai_derive"
path = "src/lib.rs"
proc-macro = true

[dependencies]
bevy_mod_scripting_common = {path = "../../bevy_mod_scripting_common", version = "0.4.0" }
bevy_mod_scripting_common = { path = "../../bevy_mod_scripting_common", version = "0.4.0" }
paste = "1.0.7"
syn = {version="1.0.57",features=["full","fold","extra-traits"]}
syn = { version = "1.0.57", features = ["full", "fold", "extra-traits"] }
quote = "1.0.8"
proc-macro2 = "1.0"
convert_case = "0.5.0"
rustdoc-types = "0.11.0"
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0.137"
indexmap = {version= "1.9.1", features= ["serde"]}
indexmap = { version = "1.9.1", features = ["serde"] }
6 changes: 0 additions & 6 deletions languages/bevy_mod_scripting_rune/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ keywords = ["bevy", "gamedev", "scripting", "rune"]
categories = ["game-development"]
readme = "readme.md"

[package.metadata.release]
pre-release-replacements = [
{ file = "Cargo.toml", search = '^version\s*=\s*.*$', replace = "version = \"{{version}}\"", exactly = 1 },
{ file = "Cargo.toml", search = '^(?P<h>bevy_mod_scripting_core\s*=.*)version\s*=\s*".*"(?P<t>.*)$', replace = "${h}version = \"{{version}}\"${t}", exactly = 1 },
]

[lib]
name = "bevy_mod_scripting_rune"
path = "src/lib.rs"
Expand Down

0 comments on commit bb93162

Please sign in to comment.