blob: b39448617fc15aa5253dd6888f1445fe528cc94f (
plain)
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
|
[package]
name = "newton_lib"
version = "0.1.0"
authors = ["LLLL Colonq <llll@colonq.computer>"]
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "newton"
path = "src/main.rs"
[profile.release]
opt-level = 2
codegen-units = 1
[profile.dev.package."*"]
opt-level = 2
[dependencies]
teleia = { path = "../teleia" } # engine
glam = "*" # linear algebra
glow = "*" # gl bindings
bitflags = "*" # C-style bitwise flags
rand = "*" # rng
log = "*" # logging
lazy_static = "*" # global constants
strum = {version = "*", features = ["derive"]} # utility macros for enums
polling = "*" # polling sockets
lexpr = "*" # s-expression parsing
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "*" # wasm bindings
wasm-bindgen-futures = "*" # interface with async javascript
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
env_logger = "*"
tokio = { version = "*", features = ["full"] }
clap = { version = "*", features = ["cargo"] }
base64 = "0.22.1"
|