# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "rantz_suite"
version = "1.5.6"
authors = ["Robert Gardner'"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A combined suite of tools provided by Rantz for use with the Bevy game engine."
homepage = "https://github.com/BobG1983/rantz_suite"
readme = "README.md"
keywords = [
    "gamedev",
    "bevy",
]
categories = ["game-engines"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/BobG1983/rantz_suite"

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

[dependencies.bevy]
version = "0.14"
optional = true

[dependencies.rantz_camera2d]
version = "1.1"
optional = true

[dependencies.rantz_cereal]
version = "1.2"
optional = true

[dependencies.rantz_proto]
version = "1.2"
optional = true

[dependencies.rantz_random]
version = "1.2"
optional = true

[dependencies.rantz_spatial2d]
version = "3.1"
features = ["serde"]
optional = true

[features]
all_asset_loaders = [
    "rantz_proto/all_asset_loaders",
    "rantz_cereal/all_asset_loaders",
]
camera2d = ["rantz_camera2d"]
cereal = ["rantz_cereal"]
cereal_progress = ["rantz_cereal/progress_tracking"]
csv = [
    "rantz_proto/csv",
    "rantz_cereal/csv",
]
default = [
    "plugin",
    "spatial2d",
    "random",
    "camera2d",
    "proto",
    "cereal",
]
json = [
    "rantz_proto/json",
    "rantz_cereal/json",
]
msgpack = [
    "rantz_proto/msgpack",
    "rantz_cereal/msgpack",
]
plugin = ["dep:bevy"]
progress = [
    "proto",
    "cereal",
    "proto_progress",
    "cereal_progress",
]
proto = ["rantz_proto"]
proto_progress = ["rantz_proto/progress_tracking"]
random = [
    "rantz_random",
    "rantz_spatial2d/random",
]
spatial2d = ["rantz_spatial2d"]
toml = [
    "rantz_proto/toml",
    "rantz_cereal/toml",
]
xml = [
    "rantz_proto/xml",
    "rantz_cereal/xml",
]
yaml = [
    "rantz_proto/yaml",
    "rantz_cereal/yaml",
]

[lints.clippy]
doc_markdown = "warn"
manual_let_else = "warn"
match_same_arms = "warn"
ptr_as_ptr = "warn"
ptr_cast_constness = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
ref_as_ptr = "warn"
semicolon_if_nothing_returned = "warn"
too_many_arguments = "allow"
type_complexity = "allow"
undocumented_unsafe_blocks = "warn"
unwrap_or_default = "warn"

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
