Skip to content

Commit

Permalink
Merge pull request #39 from ikatson/desktop
Browse files Browse the repository at this point in the history
Create a desktop app with Tauri
  • Loading branch information
ikatson authored Dec 2, 2023
2 parents 28c2db2 + 9b96eca commit a0fd71d
Show file tree
Hide file tree
Showing 47 changed files with 15,400 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

- uses: softprops/action-gh-release@v1
with:
body: This release and its artifacts were built with a GitHub action
generate_release_notes: true
files: |
target/artifacts/rqbit-osx-universal
target/artifacts/rqbit-linux-static-x86_64
Expand Down
10 changes: 5 additions & 5 deletions 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 crates/dht/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "librqbit-dht"
version = "4.0.0-beta.2"
version = "4.0.0-beta.3"
edition = "2021"
description = "DHT implementation, used in rqbit torrent client."
license = "Apache-2.0"
Expand Down Expand Up @@ -34,7 +34,7 @@ indexmap = "2"
dashmap = {version = "5.5.3", features = ["serde"]}

clone_to_owned = {path="../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"}
librqbit-core = {path="../librqbit_core", version = "3.1.0"}
librqbit-core = {path="../librqbit_core", version = "3.2.0"}
chrono = {version = "0.4.31", features = ["serde"]}

[dev-dependencies]
Expand Down
8 changes: 4 additions & 4 deletions crates/librqbit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "librqbit"
version = "4.0.0-beta.2"
version = "4.0.0-beta.3"
authors = ["Igor Katson <[email protected]>"]
edition = "2021"
description = "The main library used by rqbit torrent client. The binary is just a small wrapper on top of it."
Expand All @@ -24,11 +24,11 @@ rust-tls = ["reqwest/rustls-tls"]
[dependencies]
bencode = {path = "../bencode", default-features=false, package="librqbit-bencode", version="2.2.1"}
buffers = {path = "../buffers", package="librqbit-buffers", version = "2.2.1"}
librqbit-core = {path = "../librqbit_core", version = "3.1.0"}
librqbit-core = {path = "../librqbit_core", version = "3.2.0"}
clone_to_owned = {path = "../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"}
peer_binary_protocol = {path = "../peer_binary_protocol", package="librqbit-peer-protocol", version = "3.1.0"}
peer_binary_protocol = {path = "../peer_binary_protocol", package="librqbit-peer-protocol", version = "3.2.0"}
sha1w = {path = "../sha1w", default-features=false, package="librqbit-sha1-wrapper", version="2.2.1"}
dht = {path = "../dht", package="librqbit-dht", version="4.0.0-beta.2"}
dht = {path = "../dht", package="librqbit-dht", version="4.0.0-beta.3"}

tokio = {version = "1", features = ["macros", "rt-multi-thread"]}
axum = {version = "0.7"}
Expand Down
2 changes: 1 addition & 1 deletion crates/librqbit_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "librqbit-core"
version = "3.1.0"
version = "3.2.0"
edition = "2021"
description = "Important utilities used throughout librqbit useful for working with torrents."
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions crates/peer_binary_protocol/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "librqbit-peer-protocol"
version = "3.1.0"
version = "3.2.0"
edition = "2021"
description = "Protocol for working with torrent peers. Used in rqbit torrent client."
license = "Apache-2.0"
Expand All @@ -23,6 +23,6 @@ byteorder = "1"
buffers = {path="../buffers", package="librqbit-buffers", version = "2.2.1"}
bencode = {path = "../bencode", default-features=false, package="librqbit-bencode", version="2.2.1"}
clone_to_owned = {path="../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"}
librqbit-core = {path="../librqbit_core", version = "3.1.0"}
librqbit-core = {path="../librqbit_core", version = "3.2.0"}
bitvec = "1"
anyhow = "1"
6 changes: 3 additions & 3 deletions crates/rqbit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rqbit"
version = "4.0.0-beta.2"
version = "4.0.0-beta.3"
authors = ["Igor Katson <[email protected]>"]
edition = "2021"
description = "A bittorrent command line client and server."
Expand All @@ -23,8 +23,8 @@ default-tls = ["librqbit/default-tls"]
rust-tls = ["librqbit/rust-tls"]

[dependencies]
librqbit = {path="../librqbit", default-features=false, version = "4.0.0-beta.2"}
dht = {path="../dht", package="librqbit-dht", version="4.0.0-beta.2"}
librqbit = {path="../librqbit", default-features=false, version = "4.0.0-beta.3"}
dht = {path="../dht", package="librqbit-dht", version="4.0.0-beta.3"}
tokio = {version = "1", features = ["macros", "rt-multi-thread"]}
console-subscriber = {version = "0.2", optional = true}
anyhow = "1"
Expand Down
24 changes: 24 additions & 0 deletions desktop/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
3 changes: 3 additions & 0 deletions desktop/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"]
}
7 changes: 7 additions & 0 deletions desktop/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Tauri + React + Typescript

This template should help get you started developing with Tauri, React and Typescript in Vite.

## Recommended IDE Setup

- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
19 changes: 19 additions & 0 deletions desktop/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>rqbit web 4.0.0-beta.0</title>
<link rel="icon" type="image/svg+xml" href="assets/logo.svg">
<!-- Include Bootstrap CSS -->
<link rel="stylesheet" href="/src/styles/bootstrap.min.css" />
<link rel="stylesheet" href="/src/styles/bootstrap-icons.css" />
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>

</html>
Loading

0 comments on commit a0fd71d

Please sign in to comment.