Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/rust-tui-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.91.1
override: true
components: rustfmt, clippy

Expand Down Expand Up @@ -54,6 +55,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.91.1
override: true
components: rustfmt, clippy

Expand All @@ -78,6 +80,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.91.1
override: true
components: rustfmt, clippy

Expand All @@ -98,6 +101,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.91.1
override: true
components: rustfmt, clippy

Expand Down
155 changes: 142 additions & 13 deletions rust-tui/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rust-tui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "ditto-quickstart"
version = "0.0.0"
edition = "2021"
edition = "2024"
default-run = "ditto-quickstart"

[lib]
Expand All @@ -18,7 +18,7 @@ path = "src/bin/integration_test.rs"

[dependencies]
# Ditto dependenceis
dittolive-ditto = "4.13.1"
dittolive-ditto = "=5.0.0-preview.4"

# External dependencies
anyhow = "1"
Expand Down
10 changes: 3 additions & 7 deletions rust-tui/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
# Ditto Rust Quickstart App 🚀

This directory contains Ditto's quickstart app for the Rust SDK.
This app is a Terminal User Interface (TUI) that allows for creating
a todo list that syncs between multiple peers.
This directory contains Ditto's quickstart app for the Rust SDK. This app is a Terminal User Interface (TUI) that allows for creating a todo list that syncs between multiple peers.

## Getting Started

To get started, you'll first need to create an app in the [Ditto Portal][0]
with the "Online Playground" authentication type. You'll need to find your
To get started, you'll first need to create an app in the [Ditto Portal][0] with the "Online Playground" authentication type. You'll need to find your
AppID and Online Playground Token, Auth URL, and Websocket URL in order to use this quickstart.

[0]: https://portal.ditto.live

From the repo root, copy the `.env.sample` file to `.env`, and fill in the
fields with your AppID, Online Playground Token, Auth URL, and Websocket URL:
From the repo root, copy the `.env.sample` file to `.env`, and fill in the fields with your AppID, Online Playground Token, Auth URL, and Websocket URL:

```
cp .sample.env .env
Expand Down
Loading
Loading