-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (45 loc) · 1.06 KB
/
Cargo.toml
File metadata and controls
51 lines (45 loc) · 1.06 KB
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
[package]
name = "citrus_engine"
description = "The Rust bindings for the Citrus Engine, originally written in C++."
readme = "README.md"
license = "LGPL-3.0-only"
keywords = ["gamedev", "api", "game", "bindings"]
categories = ["api-bindings", "game-engines", "game-development"]
authors = ["Team Citrus"]
version = "0.0.1"
edition = '2018'
repository = "https://github.com/team-citrus/engine-rust/"
include = ["/src"]
[dependencies]
cxx = "1.0"
glm = "0.2.3"
impls = "1"
[build-dependencies]
cxx-build = "1.0"
[profile.dev]
opt-level = 1 # Why the hell isn't there a -Og style option?
overflow-checks = false
lto = true
debug = true
incremental = true
panic = "unwind"
[profile.quick]
opt-level = 2
overflow-checks = false
lto = "thin"
debug = false
incremental = true
panic = "abort"
inherits = "dev"
[profile.release]
opt-level = 3
overflow-checks = false
lto = true
debug = false
strip = "debuginfo"
panic = "abort"
codegen-units = 10 # 2 for core, 2 for physics, 2 for graphics, 2 for sound, and 2 for internals
[lib]
name = "engine"
path = "src/lib.rs"
crate-type = ["lib"]