docs: Update version to v0.4.0-preview1 in docs. (#1534)
This commit is contained in:
parent
34c589d45b
commit
89041f9ab8
5 changed files with 9 additions and 9 deletions
|
|
@ -32,7 +32,7 @@ GPUI and GPUI Component are still in development, so you need to add dependencie
|
|||
|
||||
```toml
|
||||
gpui = "0.2.2"
|
||||
gpui-component = "0.3.0"
|
||||
gpui-component = "0.4.0-preview1"
|
||||
```
|
||||
|
||||
### Basic Example
|
||||
|
|
@ -88,7 +88,7 @@ fn main() {
|
|||
GPUI Component has a `WebView` element based on [Wry](https://github.com/tauri-apps/wry). This is an optional feature, which you can enable with a feature flag.
|
||||
|
||||
```toml
|
||||
gpui-component = { version = "0.3.0", features = ["webview"] }
|
||||
gpui-component = { version = "0.4.0-preview1", features = ["webview"] }
|
||||
wry = { version = "0.53.3, package = "lb-wry" }
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ Add dependencies to your `Cargo.toml`:
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
gpui = "0.2.0"
|
||||
gpui-component = "0.2.0"
|
||||
gpui = "0.2"
|
||||
gpui-component = "0.4.0-preview1"
|
||||
```
|
||||
|
||||
## Quick Start
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ Add `gpui` and `gpui-component` to your `Cargo.toml`:
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
gpui = "0.2.0"
|
||||
gpui-component = "0.2.0"
|
||||
gpui = "0.2"
|
||||
gpui-component = "0.4.0-preview1"
|
||||
```
|
||||
|
||||
Then create a simple "Hello, World!" application with a button:
|
||||
|
|
|
|||
|
|
@ -42,6 +42,6 @@ We use Rust programming language to build the `gpui-component` library. Make sur
|
|||
To install the `gpui-component` library, you can use Cargo, the Rust package manager. Add the following line to your `Cargo.toml` file under the `[dependencies]` section:
|
||||
|
||||
```toml
|
||||
gpui-component = "0.2.0"
|
||||
gpui = "0.2.0"
|
||||
gpui = "0.2"
|
||||
gpui-component = "0.4.0-preview1"
|
||||
```
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ Add the following to your `Cargo.toml`:
|
|||
|
||||
```toml
|
||||
gpui = "0.2"
|
||||
gpui-component = "0.3"
|
||||
gpui-component = "0.4.0-preview1"
|
||||
```
|
||||
|
||||
:::warning
|
||||
|
|
|
|||
Loading…
Reference in a new issue