53 lines
1.3 KiB
TOML
53 lines
1.3 KiB
TOML
# file: crates/apps/game-android-entrypoint/Cargo.toml
|
|
# version: 1
|
|
|
|
[package]
|
|
name = "game-android-entrypoint"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
authors.workspace = true
|
|
publish.workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[features]
|
|
default = []
|
|
reflex = ["dep:game-reflex-poc"]
|
|
snake = ["dep:game-snake-poc"]
|
|
|
|
[dependencies]
|
|
engine-v1-common = { path = "../../engines/engine-v1-common" }
|
|
engine-v1-sdl = { path = "../../engines/engine-v1-sdl" }
|
|
game-logging-lib = { path = "../../common/game-logging-lib" }
|
|
tracing.workspace = true
|
|
game-reflex-poc = { path = "../../games/game-reflex-poc", optional = true }
|
|
game-snake-poc = { path = "../../games/game-snake-poc", optional = true }
|
|
|
|
[lints.rust]
|
|
missing_docs = "warn"
|
|
unreachable_pub = "deny"
|
|
unsafe_code = "allow"
|
|
|
|
[lints.clippy]
|
|
unwrap_used = "deny"
|
|
expect_used = "deny"
|
|
implicit_return = "deny"
|
|
needless_return = "allow"
|
|
useless_vec = "deny"
|
|
question_mark = "deny"
|
|
question_mark_used = "deny"
|
|
needless_match = "allow"
|
|
manual_ok_err = "allow"
|
|
manual_unwrap_or = "allow"
|
|
manual_map = "allow"
|
|
match_like_matches_macro = "allow"
|
|
single_match = "allow"
|
|
manual_unwrap_or_default = "allow"
|
|
manual_find = "allow"
|
|
explicit_counter_loop = "allow"
|
|
get_first = "allow"
|
|
implicit_saturating_sub = "allow"
|