[package] name = "crayon" version = "0.7.1" authors = [ "Jingkai Mao " ] edition = "2018" description = "A small, portable and extensible game framework." repository = "https://github.com/shawnscode/crayon" documentation = "http://docs.rs/crayon" readme = "README.md" license = "Apache-2.0" keywords = ["ecs", "entity-component", "game-dev", "multithread"] categories = ["game-engines", "multimedia"] [badges] travis-ci = { repository = "shawnscode/crayon", branch = "master" } appveyor = { repository = "shawnscode/crayon", branch = "master", service = "github" } codecov = { repository = "shawnscode/crayon", branch = "master", service = "github" } [workspace] members = [ "modules/world", "modules/audio" ] [target.'cfg(not(target_arch = "wasm32"))'.dependencies] gl = "0.10.0" glutin = "0.18.0" [target.'cfg(target_arch = "wasm32")'.dependencies] wasm-bindgen = "0.2.29" js-sys = "0.3.6" console_error_panic_hook = "0.1.5" [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3.6" features = [ 'Node', 'Document', 'Element', 'DomRect', 'HtmlCanvasElement', "HtmlElement", 'WebGlBuffer', 'WebGl2RenderingContext', 'WebGlProgram', 'WebGlShader', 'WebGlUniformLocation', 'WebGlRenderbuffer', 'WebGlTexture', 'WebGlBuffer', 'WebGlFramebuffer', 'WebGlVertexArrayObject', 'Window', 'Performance', 'XmlHttpRequest', 'XmlHttpRequestResponseType', 'Response', 'EventTarget', 'MouseEvent', 'KeyboardEvent', 'UiEvent' ] [dependencies] failure = "0.1.2" log = "0.4.5" serde = { version = "1.0.79", features = ["serde_derive"] } serde_json = { version = "1.0.32" } bincode = "1.0.1" byteorder = "1.2.6" inlinable_string = { version = "0.1.10", features = ["serde"] } smallvec = { version = "0.6.5", features = ["serde"] } uuid = { version = "0.7.1", features = ["serde"] } cgmath = { version = "0.16.1", features = ["serde"] } crossbeam-deque = "0.5.1" [dev-dependencies] rand = "0.5.5" env_logger = "0.6.0" [profile.release] lto = true