-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
104 lines (94 loc) · 2.25 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[package]
name = "bevy_trackball"
version = "0.9.0"
rust-version = "1.82.0"
authors = ["Rouven Spreckels <[email protected]>"]
edition = "2021"
description = "Coherent virtual trackball controller/camera plugin for Bevy"
homepage = "https://qu1x.dev/bevy_trackball"
documentation = "https://doc.qu1x.dev/bevy_trackball"
repository = "https://github.com/qu1x/bevy_trackball"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = [
"virtual-trackball",
"exponential-map",
"coherent-rotation",
"pan-orbit",
"bevy-camera",
]
categories = [
"graphics",
"rendering",
"game-engines",
"science",
]
include = [
"src/**/*.rs",
"examples/**/*.rs",
"Cargo.toml",
"README.md",
"RELEASES.md",
"LICENSES/*.md",
]
[package.metadata.docs.rs]
features = ["serialize", "bevy/wayland"]
rustdoc-args = ["--cfg", "docsrs"]
[features]
c11-orbit = ["trackball/cc"]
serialize = ["bevy/serialize", "trackball/serde", "bevy_egui?/serde"]
bevy_egui = ["dep:bevy_egui"]
[dependencies]
trackball = { version = "0.15.0", features = ["glam"] }
bevy_egui = { git = "https://github.com/mvlabat/bevy_egui", rev = "refs/pull/309/head", default-features = false, features = ["render"], optional = true }
[dependencies.bevy]
version = "0.15.0-rc.3"
default-features = false
features = [
"bevy_render",
"bevy_winit",
]
[dev-dependencies.bevy]
version = "0.15.0-rc.3"
default-features = false
features = [
"custom_cursor",
"bevy_core_pipeline",
"bevy_pbr",
"ktx2",
"zstd",
"tonemapping_luts",
"wayland",
"webgl2",
]
[[example]]
name = "exponential_map"
required-features = []
[[example]]
name = "gliding_clamp"
required-features = ["bevy/bevy_ui", "bevy/default_font"]
[[example]]
name = "constellation_clamp"
required-features = ["bevy/bevy_ui", "bevy/default_font"]
[[example]]
name = "egui"
required-features = ["bevy_egui/default_fonts"]
[[example]]
name = "scaling_modes"
required-features = []
[profile.wasm-release]
inherits = "release"
opt-level = "z"
lto = "fat"
codegen-units = 1
[lints.rust]
unsafe-code = "forbid"
missing-docs = "forbid"
[lints.rustdoc]
broken-intra-doc-links = "forbid"
[lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
nursery = { level = "deny", priority = -1 }
tabs-in-doc-comments = "allow"
module-name-repetitions = "allow"