11<p align =" center " style =" text-align :center ;" >
2- <img src =" https://media.githubusercontent.com/media/lambda-sh/lambda/main/lambda/assets/logos/lambda_header.png " />
2+ <img src =" https://media.githubusercontent.com/media/lambda-sh/lambda/main/crates/ lambda-rs /assets/logos/lambda_header.png " />
33</p >
44
55[ ![ Cross Platform builds & tests] ( https://github.com/lambda-sh/lambda/actions/workflows/compile_lambda_rs.yml/badge.svg )] ( https://github.com/lambda-sh/lambda/actions/workflows/compile_lambda_rs.yml )
6-
7-
6+ ![ lambda-rs ] ( https://img.shields.io/crates/d/lambda-rs )
7+ ![ lambda-rs ] ( https://img.shields.io/crates/v/lambda-rs )
88
99## Table of contents
10101 . [ Description] ( #description )
11- 2 . [ API Documentation] ( #documentation )
12- 3 . [ Building] ( #building )
11+ 1 . [ API Documentation] ( #documentation )
12+ 1 . [ Building] ( #building )
13+ 1 . [ From crates.io] ( #crates )
1314 1 . [ From source] ( #source )
1415 1 . [ External dependencies] ( #ext_deps )
15- 2 . [ Optional depedencies ] ( #opt_deps )
16- 3 . [ Linux, Macos, Windows] ( #bash )
17- 5 . [ Getting started] ( #get_started )
18- 6 . [ Examples] ( #examples )
19- 7 . [ Planned additions] ( #plans )
20- 8 . [ How to contribute] ( #contribute )
21- 9 . [ Resources] ( #resources )
16+ 1 . [ Optional dependencies ] ( #opt_deps )
17+ 1 . [ Linux, Macos, Windows] ( #bash )
18+ 1 . [ Getting started] ( #get_started )
19+ 1 . [ Examples] ( #examples )
20+ 1 . [ Planned additions] ( #plans )
21+ 1 . [ How to contribute] ( #contribute )
22+ 1 . [ Resources] ( #resources )
2223## Description <a name =" description " ></a >
2324Lambda is a framework for developing cross platform applications and workloads using Rust.
2425
@@ -45,12 +46,26 @@ lightweight HTML/CSS based rendering in the future but we're primarily focused
4546on implementing a Rust native UI framework built on top of our rendering engine.
4647
4748## Documentation <a name =" documentation " ></a >
48- Documentation to be added soon.
49+ * [ lambda-rs API documentation] ( https://docs.rs/lambda-rs/2023.1.29/lambda/ )
50+
51+ ## Installation <a name =" building " ></a >
4952
50- ## Building <a name =" building " ></a >
53+ ### From crates.io <a name =" crates " ></a >
54+ lambda is now available on [ crates.io] ( https://crates.io/crates/lambda-rs )
55+ and can be added to your project by adding the following to your
56+ ` Cargo.toml ` file:
57+
58+ ``` toml
59+ [dependencies ]
60+ lambda-rs = " 2023.1.29"
61+ ```
62+
63+ or from the CLI:
64+ ``` bash
65+ cargo add lambda-rs
66+ ```
5167
5268### From source <a name =" source " ></a >
53- Currently, building from source is the only method to obtain a copy of Lambda.
5469
5570#### Required external dependencies <a name =" ext_deps " ></a >
5671* All platforms
@@ -106,6 +121,11 @@ An example of using shaders with push constants to render a 3D image.
106121cargo run -- example push_constants
107122```
108123
124+ #### Notes
125+ * On windows, you need to run this example with
126+ ` --features lambda-rs/with-vulkan ` as the shader used in the example does not work
127+ in either dx11 or dx12.
128+
109129### Triangle
110130An example using shaders to render a single triangle.
111131``` rust
@@ -135,11 +155,10 @@ cargo run --example triangles
135155 - [x] Metal
136156 - [x] DirectX11
137157 - [x] DirectX12
138- - ### Crates
139- - [x] (WIP) lambda-args -- Command line argument parsing.
140- - [x] (WIP) lambda-platform -- Dependency wrappers & platform support.
141- - [ ] lambda-cloud -- Cloud integrations.
142- - [x] (WIP) lambda -- The public Lambda API.
158+ - ### Packages
159+ - [x] (WIP) [ lambda-rs-args] ( ./crates/lambda-rs-args/README.md ) -- Command line argument parsing.
160+ - [x] (WIP) [ lambda-rs-platform] ( ./crates/lambda-rs-platform/README.md ) -- Dependency wrappers & platform support.
161+ - [x] (WIP) [ lambda-rs] ( ./crates/lambda-rs/README.md ) -- The public Lambda API.
143162- ### Examples
144163 - [x] Minimal -- A minimal example of an application with a working window
145164 using lambda.
0 commit comments