nil-core 0.3.5

Multiplayer strategy game
Documentation
# 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 = "2024"
rust-version = "1.96"
name = "nil-core"
version = "0.3.5"
authors = [
    "Andrew Ferreira <andrew.shien2@gmail.com>",
    "Danilo Soares <danilofs18@gmail.com>",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multiplayer strategy game"
homepage = "https://nil.dev.br"
readme = "README.md"
license = "AGPL-3.0-only"
repository = "https://github.com/tsukilabs/nil"

[package.metadata.docs.rs]
no-default-features = true
features = []
default-target = "x86_64-unknown-linux-gnu"
targets = []

[features]
lua = ["dep:mlua"]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bon]
version = "3.9"

[dependencies.bytes]
version = "1.11"

[dependencies.derive_more]
version = "2.1"
features = [
    "deref",
    "deref_mut",
    "display",
    "from",
    "into",
]

[dependencies.flate2]
version = "1.1"
features = ["zlib-rs"]
default-features = false

[dependencies.glam]
version = "0.32"
features = ["fast-math"]

[dependencies.itertools]
version = "0.14"

[dependencies.jiff]
version = "0.2"
features = ["serde"]

[dependencies.mlua]
version = "0.11"
features = [
    "anyhow",
    "async",
    "error-send",
    "lua55",
    "send",
    "serde",
    "vendored",
]
optional = true

[dependencies.nil-core-macros]
version = "0.3"

[dependencies.nil-namegen]
version = "0.3"

[dependencies.nil-num]
version = "0.3"

[dependencies.nil-util]
version = "0.3"

[dependencies.num-traits]
version = "=0.2.19"

[dependencies.paste]
version = "=1.0.15"

[dependencies.rand]
version = "0.10"

[dependencies.remain]
version = "0.2"

[dependencies.semver]
version = "1.0"
features = ["serde"]

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.strum]
version = "0.28"
features = ["derive"]

[dependencies.subenum]
version = "=1.1.3"

[dependencies.tap]
version = "=1.0.1"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.50"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.22"
features = [
    "serde",
    "v4",
    "v7",
]

[lints.clippy]
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
clone_on_ref_ptr = "deny"
dbg_macro = "deny"
enum_glob_use = "allow"
get_unwrap = "deny"
large_enum_variant = "deny"
map_unwrap_or = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_borrow = "deny"
needless_for_each = "allow"
obfuscated_if_else = "allow"
rc_buffer = "deny"
rc_mutex = "deny"
redundant_else = "allow"
rest_pat_in_fully_bound_structs = "deny"
similar_names = "allow"
struct_field_names = "allow"
unnecessary_safety_comment = "deny"
unsafe_derive_deserialize = "allow"
useless_conversion = "deny"

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
async_fn_in_trait = "allow"
dangling_pointers_from_temporaries = "deny"
unfulfilled_lint_expectations = "deny"
unsafe_op_in_unsafe_fn = "deny"
variant_size_differences = "warn"