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
|
[package]
name = "teleia"
version = "0.1.0"
authors = ["LLLL Colonq <llll@colonq.computer>"]
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "tel"
path = "src/main.rs"
[profile.release]
opt-level = 2
codegen-units = 1
[profile.dev.package."*"]
opt-level = 2
[dependencies]
glow = {version = "0.13.1", features = []} # rendering
tobj = "*" # loader for .obj meshes loader
gltf = {path = "deps/gltf", features = ["extras", "names", "utils"]} # loader for .gltf scenes
# gltf = {version = "*", features = ["extras", "names"]} # model loader
image = "*" # texture loader
fontdue = "*" # truetype fonts
glam = "*" # linear algebra
log = "*" # logging
rand = {version = "*", features = ["small_rng"]} # rng
serde = {version = "*", features = ["derive"]} # serialization
serde_json = "*" # serialize JSON
enum-map = "*" # fast maps with enums as keys
bimap = "*" # bijective maps
reqwest = "*" # http requests
bytes = "*" # bytes for http responses
bitflags = "*" # bitwise flags
[target.'cfg(target_arch = "wasm32")'.dependencies]
winit = {version = "*", features = ["serde"]} # windowing and events
getrandom = {version = "*", features = ["js"]} # rng in the browser
console_log = "*" # log to browser console
console_error_panic_hook = "*" # log to browser console on panic
tracing-wasm = "*" # trace performance in browser
wasm-bindgen = "*" # interface with javascript
wasm-bindgen-futures = "*" # interface with async javascript
js-sys = "*" # browser APIs to interact with JS runtime (e.g. run WASM)
web-sys = { version = "*", features = ["Document", "Window", "Element", "HtmlCanvasElement", "WebGl2RenderingContext", "Headers", "Request", "RequestInit", "RequestMode", "Response", "Performance", "PerformanceTiming", "AudioContext", "AudioNode", "AudioDestinationNode", "AudioBuffer", "AudioBufferSourceNode", "BinaryType", "Blob", "CloseEvent", "ErrorEvent", "FileReader", "MessageEvent", "ProgressEvent", "WebSocket", "Storage"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
env_logger = "*" # configurable logging to stdout
tokio = { version = "*", features = ["full"] } # async runtime
glfw = { path = "deps/glfw-rs", features = ["serde"] } # window management
kira = "0.9.6" # audio
directories = { path = "deps/directories-rs" } # standard system directories
|