mirror of
https://gitlab.com/veloren/veloren.git
synced 2025-07-25 21:02:31 +00:00
Add workspace lints table
This commit is contained in:
@ -27,6 +27,13 @@ members = [
|
||||
"network/protocol",
|
||||
]
|
||||
|
||||
### LINTS ###
|
||||
|
||||
# Note, crates not in this workspace don't include these lints. We have added a
|
||||
# [workspace.lints] entry to those crates, so they can be found by searching
|
||||
# for this.
|
||||
[workspace.lints]
|
||||
|
||||
### PROFILES ###
|
||||
|
||||
# default profile for devs, fast to compile, okay enough to run, no debug information
|
||||
|
@ -4,6 +4,9 @@ version = "0.17.0"
|
||||
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
simd = ["vek/platform_intrinsics"]
|
||||
plugins = ["common-state/plugins"]
|
||||
|
@ -5,6 +5,9 @@ name = "veloren-client-i18n"
|
||||
description = "Optional crate for internalization and diagnostic of existing localizations for frontends to consume"
|
||||
version = "0.13.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
# Assets
|
||||
common-assets = {package = "veloren-common-assets", path = "../../common/assets"}
|
||||
|
@ -8,6 +8,9 @@ authors = [
|
||||
]
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
no-assets = []
|
||||
hot-reloading = ["common-assets/hot-reloading"]
|
||||
|
@ -5,6 +5,9 @@ name = "veloren-common-assets"
|
||||
description = "Crate for game loading assets for veloren."
|
||||
version = "0.10.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
lazy_static = { workspace = true }
|
||||
assets_manager = { version = "0.12", features = ["bincode", "ron", "json"] }
|
||||
|
@ -5,6 +5,9 @@ name = "veloren-common-base"
|
||||
description = "minimal dependency for crates to now depend on whole common"
|
||||
version = "0.10.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
tracy = ["profiling", "profiling/profile-with-tracy"]
|
||||
|
||||
|
@ -4,6 +4,9 @@ version = "0.1.0"
|
||||
authors = ["Ben Wallis <atomyc@gmail.com>"]
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
find_folder = {version = "0.3.0"}
|
||||
libloading = {version = "0.8"}
|
||||
|
@ -4,6 +4,9 @@ edition = "2021"
|
||||
name = "veloren-common-ecs"
|
||||
version = "0.10.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
|
||||
[dependencies]
|
||||
|
@ -5,6 +5,9 @@ name = "veloren-common-frontend"
|
||||
description = "common stuff that is used by server-cli and voxygen directly"
|
||||
version = "0.10.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
tracy = ["common-base/tracy", "tracing-tracy"]
|
||||
|
||||
|
@ -4,6 +4,9 @@ version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "Crate for structs and methods that acknowledge the need for localization of the game"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
serde = { workspace = true, features = ["rc"] }
|
||||
hashbrown = { workspace = true }
|
||||
|
@ -4,6 +4,9 @@ edition = "2021"
|
||||
name = "veloren-common-net"
|
||||
version = "0.10.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
simd = ["vek/platform_intrinsics"]
|
||||
|
||||
|
@ -6,7 +6,8 @@ version = "0.1.2"
|
||||
authors = ["crabman <vlrncrabman+veloren@gmail.com>", "XVar <atomyc@gmail.com>"]
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
server = ["dep:rand"]
|
||||
|
@ -4,6 +4,9 @@ edition = "2021"
|
||||
name = "veloren-common-state"
|
||||
version = "0.10.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
simd = ["vek/platform_intrinsics"]
|
||||
plugins = ["common-assets/plugins", "toml", "wasmtime", "wasmtime-wasi", "tar", "bincode", "serde", "dep:sha2", "dep:hex"]
|
||||
|
@ -4,6 +4,9 @@ edition = "2021"
|
||||
name = "veloren-common-systems"
|
||||
version = "0.10.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
simd = ["vek/platform_intrinsics"]
|
||||
plugins = ["common-state/plugins"]
|
||||
|
@ -4,7 +4,8 @@ version = "0.3.0"
|
||||
authors = ["Marcel Märtens <marcel.cochem@googlemail.com>"]
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
metrics = ["prometheus", "network-protocol/metrics"]
|
||||
|
@ -5,7 +5,8 @@ version = "0.6.1"
|
||||
authors = ["Marcel Märtens <marcel.cochem@googlemail.com>"]
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
metrics = ["prometheus"]
|
||||
|
@ -5,6 +5,8 @@ edition = "2021"
|
||||
|
||||
[workspace]
|
||||
|
||||
[workspace.lints]
|
||||
|
||||
[package.metadata.component]
|
||||
package = "component:anim"
|
||||
|
||||
|
@ -5,6 +5,8 @@ edition = "2021"
|
||||
|
||||
[workspace]
|
||||
|
||||
[workspace.lints]
|
||||
|
||||
[package.metadata.component]
|
||||
package = "component:hello"
|
||||
|
||||
|
@ -3,6 +3,9 @@ name = "veloren-rtsim"
|
||||
version = "0.10.0"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
common = { package = "veloren-common", path = "../common" }
|
||||
world = { package = "veloren-world", path = "../world" }
|
||||
|
@ -4,6 +4,9 @@ version = "0.17.0"
|
||||
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[package.metadata.nix]
|
||||
build = true
|
||||
app = true
|
||||
|
@ -4,6 +4,9 @@ version = "0.17.0"
|
||||
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
worldgen = ["server-agent/worldgen"]
|
||||
simd = ["vek/platform_intrinsics"]
|
||||
|
@ -4,6 +4,9 @@ name = "veloren-server-agent"
|
||||
edition = "2021"
|
||||
version = "0.1.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
worldgen = []
|
||||
use-dyn-lib = ["common-dynlib"]
|
||||
|
@ -11,6 +11,9 @@ version = "0.17.0"
|
||||
# Uncomment below and comment out default-run if you want to avoid this
|
||||
# autobins = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[package.metadata.nix]
|
||||
build = true
|
||||
app = true
|
||||
|
@ -4,6 +4,9 @@ edition = "2021"
|
||||
name = "veloren-voxygen-anim"
|
||||
version = "0.10.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
use-dyn-lib = ["lazy_static", "common-dynlib"]
|
||||
be-dyn-lib = []
|
||||
|
@ -4,6 +4,9 @@ name = "veloren-voxygen-egui"
|
||||
edition = "2021"
|
||||
version = "0.9.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
use-dyn-lib = ["common-dynlib"]
|
||||
be-dyn-lib = []
|
||||
|
@ -5,6 +5,9 @@ name = "veloren-voxygen-i18n-helpers"
|
||||
description = "Crate for internalization and diagnostic of existing localizations."
|
||||
version = "0.10.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
common-net = {package = "veloren-common-net", path = "../../common/net"}
|
||||
common = {package = "veloren-common", path = "../../common"}
|
||||
|
@ -4,6 +4,9 @@ version = "0.10.0"
|
||||
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
use-dyn-lib = ["common-dynlib"]
|
||||
be-dyn-lib = []
|
||||
|
Reference in New Issue
Block a user