239 lines
4.6 KiB
TOML
239 lines
4.6 KiB
TOML
# 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.85.0"
|
|
name = "bevy_reflect"
|
|
version = "0.16.1"
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Dynamically interact with rust types"
|
|
homepage = "https://bevyengine.org"
|
|
readme = "README.md"
|
|
keywords = ["bevy"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"-Zunstable-options",
|
|
"--generate-link-to-definition",
|
|
]
|
|
|
|
[features]
|
|
critical-section = [
|
|
"bevy_platform/critical-section",
|
|
"bevy_utils/critical-section",
|
|
]
|
|
debug = ["debug_stack"]
|
|
debug_stack = ["std"]
|
|
default = [
|
|
"std",
|
|
"smallvec",
|
|
"debug",
|
|
]
|
|
documentation = ["bevy_reflect_derive/documentation"]
|
|
functions = ["bevy_reflect_derive/functions"]
|
|
glam = ["dep:glam"]
|
|
hashbrown = ["dep:hashbrown"]
|
|
petgraph = [
|
|
"dep:petgraph",
|
|
"std",
|
|
]
|
|
smallvec = ["dep:smallvec"]
|
|
std = [
|
|
"bevy_utils/std",
|
|
"erased-serde/std",
|
|
"downcast-rs/std",
|
|
"serde/std",
|
|
"glam?/std",
|
|
"smol_str?/std",
|
|
"uuid?/std",
|
|
"bevy_platform/std",
|
|
"wgpu-types?/std",
|
|
]
|
|
uuid = ["dep:uuid"]
|
|
web = [
|
|
"bevy_platform/web",
|
|
"uuid?/js",
|
|
]
|
|
wgpu-types = ["dep:wgpu-types"]
|
|
|
|
[lib]
|
|
name = "bevy_reflect"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "reflect_docs"
|
|
path = "examples/reflect_docs.rs"
|
|
required-features = ["documentation"]
|
|
|
|
[dependencies.assert_type_match]
|
|
version = "0.1.1"
|
|
|
|
[dependencies.bevy_platform]
|
|
version = "0.16.1"
|
|
features = [
|
|
"alloc",
|
|
"serialize",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.bevy_ptr]
|
|
version = "0.16.1"
|
|
|
|
[dependencies.bevy_reflect_derive]
|
|
version = "0.16.1"
|
|
|
|
[dependencies.bevy_utils]
|
|
version = "0.16.1"
|
|
features = ["alloc"]
|
|
default-features = false
|
|
|
|
[dependencies.derive_more]
|
|
version = "1"
|
|
features = ["from"]
|
|
default-features = false
|
|
|
|
[dependencies.disqualified]
|
|
version = "1.0"
|
|
default-features = false
|
|
|
|
[dependencies.downcast-rs]
|
|
version = "2"
|
|
default-features = false
|
|
|
|
[dependencies.erased-serde]
|
|
version = "0.4"
|
|
features = ["alloc"]
|
|
default-features = false
|
|
|
|
[dependencies.foldhash]
|
|
version = "0.1.3"
|
|
default-features = false
|
|
|
|
[dependencies.glam]
|
|
version = "0.29.3"
|
|
features = ["serde"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.hashbrown]
|
|
version = "0.15.1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.petgraph]
|
|
version = "0.7"
|
|
features = ["serde-1"]
|
|
optional = true
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
features = ["alloc"]
|
|
default-features = false
|
|
|
|
[dependencies.smallvec]
|
|
version = "1.11"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.smol_str]
|
|
version = "0.2.0"
|
|
features = ["serde"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.thiserror]
|
|
version = "2"
|
|
default-features = false
|
|
|
|
[dependencies.uuid]
|
|
version = "1.13.1"
|
|
features = [
|
|
"v4",
|
|
"serde",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.variadics_please]
|
|
version = "1.1"
|
|
|
|
[dependencies.wgpu-types]
|
|
version = "24"
|
|
features = ["serde"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.bincode]
|
|
version = "2.0"
|
|
features = ["serde"]
|
|
|
|
[dev-dependencies.rmp-serde]
|
|
version = "1.1"
|
|
|
|
[dev-dependencies.ron]
|
|
version = "0.8.0"
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1"
|
|
features = ["derive"]
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1.0.140"
|
|
|
|
[dev-dependencies.static_assertions]
|
|
version = "1.1.0"
|
|
|
|
[lints.clippy]
|
|
alloc_instead_of_core = "warn"
|
|
allow_attributes = "warn"
|
|
allow_attributes_without_reason = "warn"
|
|
doc_markdown = "warn"
|
|
manual_let_else = "warn"
|
|
match_same_arms = "warn"
|
|
needless_lifetimes = "allow"
|
|
nonstandard_macro_braces = "warn"
|
|
print_stderr = "warn"
|
|
print_stdout = "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"
|
|
std_instead_of_alloc = "warn"
|
|
std_instead_of_core = "warn"
|
|
too_long_first_doc_paragraph = "allow"
|
|
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"
|
|
unused_qualifications = "warn"
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = ["cfg(docsrs_dep)"]
|