mlua-luau-scheduler 0.2.4

Luau-based async scheduler, using mlua and async-executor
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"
name = "mlua-luau-scheduler"
version = "0.2.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Luau-based async scheduler, using mlua and async-executor"
readme = "README.md"
keywords = [
    "async",
    "luau",
    "scheduler",
]
categories = ["asynchronous"]
license = "MPL-2.0"
repository = "https://github.com/lune-org/lune"
resolver = "2"

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

[[example]]
name = "basic_sleep"
path = "examples/basic_sleep.rs"
test = true

[[example]]
name = "basic_spawn"
path = "examples/basic_spawn.rs"
test = true

[[example]]
name = "callbacks"
path = "examples/callbacks.rs"
test = true

[[example]]
name = "exit_code"
path = "examples/exit_code.rs"
test = true

[[example]]
name = "lots_of_threads"
path = "examples/lots_of_threads.rs"
test = true

[[example]]
name = "scheduler_ordering"
path = "examples/scheduler_ordering.rs"
test = true

[[example]]
name = "tracy"
path = "examples/tracy.rs"
test = false

[dependencies.async-executor]
version = "1.13"

[dependencies.blocking]
version = "1.6"

[dependencies.futures-lite]
version = "2.6"

[dependencies.mlua]
version = "0.11.6"
features = [
    "luau",
    "luau-jit",
    "async",
    "serialize",
]

[dependencies.rustc-hash]
version = "2.1"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.async-fs]
version = "2.1"

[dev-dependencies.async-io]
version = "2.4"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.tracing-tracy]
version = "0.11"

[lints.clippy.all]
level = "deny"
priority = -3

[lints.clippy.cargo]
level = "warn"
priority = -2

[lints.clippy.cast_lossless]
level = "allow"
priority = 1

[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 1

[lints.clippy.cast_possible_wrap]
level = "allow"
priority = 1

[lints.clippy.cast_precision_loss]
level = "allow"
priority = 1

[lints.clippy.cast_sign_loss]
level = "allow"
priority = 1

[lints.clippy.module_inception]
level = "allow"
priority = 1

[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1

[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1

[lints.clippy.needless_pass_by_value]
level = "allow"
priority = 1

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

[lints.clippy.similar_names]
level = "allow"
priority = 1

[lints.clippy.unnecessary_wraps]
level = "allow"
priority = 1

[lints.clippy.unnested_or_patterns]
level = "allow"
priority = 1

[lints.clippy.unreadable_literal]
level = "allow"
priority = 1

[lints.clippy.wildcard_imports]
level = "allow"
priority = 1