summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml60
1 files changed, 9 insertions, 51 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 38c2063..98dfb24 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,56 +1,14 @@
-[package]
-name = "teleia"
+[workspace]
+resolver = "2"
+members = ["crates/*"]
+
+[workspace.package]
version = "0.1.0"
-authors = ["LLLL Colonq <llll@colonq.computer>"]
edition = "2021"
+authors = ["LLLL Colonq <llll@colonq.computer>"]
-[lib]
-crate-type = ["cdylib", "rlib"]
-
-[profile.release]
-opt-level = 2
-codegen-units = 1
+[workspace.metadata.crane]
+name = "teleia"
[profile.dev.package."*"]
-opt-level = 2
-
-[dependencies]
-strum = {version = "*", features = ["derive"]} # utility macros for enums
-glow = {version = "=0.13.1", features = []} # rendering
-tobj = "*" # loader for .obj meshes loader
-gltf = {path = "deps/gltf", features = ["extras", "import", "names", "utils"]} # loader for .gltf scenes
-# gltf = {version = "*", features = ["extras", "names"]} # model loader
-image = { version = "0.25", default-features = false, features = ["jpeg", "png"] } # texture loader
-fontdue = "*" # truetype fonts
-glam = "0.29" # linear algebra
-log = "*" # logging
-rand = {version = "=0.8.5", features = ["small_rng"]} # rng
-serde = {version = "*", features = ["derive"]} # serialization
-serde_json = "*" # serialize JSON
-bincode = {version = "*", features = ["serde"]} # binary serialization
-enum-map = "*" # fast maps with enums as keys
-bimap = "*" # bijective maps
-reqwest = "*" # http requests
-bytes = "*" # bytes for http responses
-bitflags = "*" # bitwise flags
-color-eyre = { version = "*", default-features = false } # error reporting and formatting
-rapier3d = "*" # rigid-body physics
-parry3d = "*" # collision detection
-nalgebra = {version = "0.33.2", features = ["convert-glam029"]} # linear algebra library for rapier3d
-
-[target.'cfg(target_arch = "wasm32")'.dependencies]
-winit = {version = "=0.29.15", 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 = "=0.2.100" # 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
-glfw = { path = "deps/glfw-rs", features = ["serde"] } # window management
-kira = { version = "=0.9.6", default-features = false, features = ["cpal", "ogg", "wav"] } # audio
-directories = { path = "deps/directories-rs" } # standard system directories \ No newline at end of file
+opt-level = 2 \ No newline at end of file