diff --git a/README.md b/README.md index 37c385ad..552ce095 100644 --- a/README.md +++ b/README.md @@ -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" } ``` diff --git a/docs/docs/getting-started.md b/docs/docs/getting-started.md index bbe153c2..bc7b0a12 100644 --- a/docs/docs/getting-started.md +++ b/docs/docs/getting-started.md @@ -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 diff --git a/docs/docs/index.md b/docs/docs/index.md index 545bd369..104f9989 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -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: diff --git a/docs/docs/installation.md b/docs/docs/installation.md index 6ca635eb..aaa127be 100644 --- a/docs/docs/installation.md +++ b/docs/docs/installation.md @@ -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" ``` diff --git a/docs/index.md b/docs/index.md index e9f07504..d7f1fc39 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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