avian_pickup 0.4.0

A plugin for implementing picking up dynamic rigid bodies in Avian physics for the Bevy engine. Modeled after Half Life 2's gravity gun.
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 = "avian_pickup"
version = "0.4.0"
authors = ["Jan Hohenheim <jan@hohenheim.ch>"]
build = false
exclude = [
    "/assets/",
    "/docs/",
    "/.github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A plugin for implementing picking up dynamic rigid bodies in Avian physics for the Bevy engine. Modeled after Half Life 2's gravity gun."
readme = false
keywords = [
    "bevy",
    "physics",
    "avian",
    "pickup",
    "gravity",
]
categories = ["game-development"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/janhohenheim/avian_pickup"

[features]
default = [
    "avian3d/f32",
    "avian3d/parry-f32",
]
serialize = [
    "dep:serde",
    "bevy/serialize",
    "avian3d/serialize",
]

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

[[example]]
name = "actor_with_collider"
path = "examples/actor_with_collider.rs"

[[example]]
name = "manipulate_prop"
path = "examples/manipulate_prop.rs"

[[example]]
name = "minimal"
path = "examples/minimal.rs"

[[example]]
name = "nested_colliders"
path = "examples/nested_colliders.rs"

[[example]]
name = "obstacle"
path = "examples/obstacle.rs"

[[example]]
name = "play_catch"
path = "examples/play_catch.rs"

[[example]]
name = "prop_playground"
path = "examples/prop_playground.rs"

[dependencies.avian3d]
version = "0.5"
features = [
    "3d",
    "default-collider",
]
default-features = false

[dependencies.bevy_app]
version = "0.18.0"
default-features = false

[dependencies.bevy_ecs]
version = "0.18.0"
default-features = false

[dependencies.bevy_log]
version = "0.18.0"
default-features = false

[dependencies.bevy_math]
version = "0.18.0"
default-features = false

[dependencies.bevy_platform]
version = "0.18.0"
default-features = false

[dependencies.bevy_reflect]
version = "0.18.0"
default-features = false

[dependencies.bevy_time]
version = "0.18.0"
default-features = false

[dependencies.bevy_transform]
version = "0.18.0"
default-features = false

[dependencies.bevy_utils]
version = "0.18.0"
default-features = false

[dependencies.rand]
version = "0.9"

[dependencies.serde]
version = "1.0.210"
optional = true

[dev-dependencies.bevy]
version = "0.18.0"
features = ["dynamic_linking"]

[profile.dev]
opt-level = 1

[profile.dev.package."*"]
opt-level = 3