Skip to content

Commit e4fe2c8

Browse files
committed
Merge branch 'main' into image_viewer#327
2 parents e1d2aaf + c0ccb7c commit e4fe2c8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+6036
-989
lines changed

Cargo.lock

Lines changed: 1952 additions & 152 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ version = "0.0.1-pre-alpha-3"
1616
metadata.makepad-auto-version = "zqpv-Yj-K7WNVK2I8h5Okhho46Q="
1717

1818
[dependencies]
19-
# makepad-widgets = { git = "https://github.com/makepad/makepad", branch = "dev" }
20-
makepad-widgets = { git = "https://github.com/kevinaboos/makepad", branch = "portal_list_is_filling_viewport" }
21-
19+
makepad-widgets = { git = "https://github.com/makepad/makepad", branch = "dev" }
2220

2321
## Including this crate automatically configures all `robius-*` crates to work with Makepad.
2422
robius-use-makepad = "0.1.1"
@@ -43,6 +41,7 @@ matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk", branch = "
4341
matrix-sdk-ui = { git = "https://github.com/matrix-org/matrix-rust-sdk", branch = "main", default-features = false, features = [ "rustls-tls" ] }
4442
rand = "0.8.5"
4543
rangemap = "1.5.0"
44+
sanitize-filename = "0.6"
4645
serde = "1.0"
4746
serde_json = "1.0"
4847
tokio = { version = "1.43.1", features = ["macros", "rt-multi-thread"] }
@@ -54,15 +53,47 @@ bitflags = "2.6.0"
5453
indexmap = "2.6.0"
5554
blurhash = { version = "0.2.3", default-features = false }
5655

56+
tsp_sdk = { git = "https://github.com/openwallet-foundation-labs/tsp.git", optional = true, features = ["async", "resolve"] }
57+
# tsp_sdk = { version = "0.8.0", optional = true, default-features = false, features = ["async", "resolve"] }
58+
quinn = { version = "0.11.8", default-features = false }
59+
60+
5761
[features]
5862
default = []
63+
## Enables experimental support for using TSP wallets.
64+
tsp = ["dep:tsp_sdk"]
65+
5966
## Hides the command prompt console on Windows.
6067
hide_windows_console = []
68+
6169
## Logs all diffs received by the Matrix RoomListService.
6270
log_room_list_diffs = []
71+
6372
## Logs all diffs to all room timelines.
6473
log_timeline_diffs = []
6574

75+
76+
[patch.crates-io]
77+
## This is required to avoid a version conflict on the libsqlite3-sys crate,
78+
## which is a native crate that can only exist once in the dependency graph.
79+
## The `matrix-sdk` crate's dependencies require a specific version of `libsqlite3-sys`
80+
## (via rustsqlite which requires libsqlite3-sys 0.33.0),
81+
## whereas the `tsp_sdk` crate depends on `sqlx`, which requires a different version
82+
## of `libsqlite3-sys` (via `aries-askar`, which depends on `askar-storage`,
83+
## which requires libsqlite3-sys 0.30.0).
84+
## So this patch is a custom version of sqlx that *pretends* to be 0.8.6
85+
## (even though in reality uses the newest commit of `sqlx`,
86+
## which recently was updated to allow for a *range* of versions of `libsqlite3-sys`).
87+
## See <https://github.com/launchbadge/sqlx/pull/3928/files#diff-4f4849707ed063bc5de6d9f6d105f0e7baf62d1085b3c8aee4a547468b89248fR57>
88+
# sqlx = { git = "https://github.com/project-robius/sqlx.git", branch = "version_0.9_alpha_as_0.8.6" }
89+
sqlx = { git = "https://github.com/project-robius/sqlx.git", branch = "update_libsqlite3-sys_version" }
90+
91+
## This is required for the askar repos to work with the above-patched `sqlx` crate,
92+
## more specifically, the updated `libsqlite3-sys` version (0.31.0).
93+
## See <https://github.com/openwallet-foundation/askar/pull/386>
94+
askar-storage = { git = "https://github.com/openwallet-foundation/askar.git", rev = "0b919bb58205416df7cd2cc1a24ce52373cbe105" }
95+
96+
6697
[package.metadata.docs.rs]
6798
all-features = true
6899

License Attributions.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Icons
2+
3+
Nearly all icons used in Robrix are obtained from [SVG Repo](https://www.svgrepo.com/). Every icon downloaded from that website is used in accordance with [their licensing terms here]( https://www.svgrepo.com/page/licensing/).
4+
5+
6+
Other icons are individually attributed below, as required.
7+
8+
* Add Wallet by Creative Stall from <a href="https://thenounproject.com/browse/icons/term/add-wallet/" target="_blank" title="Add Wallet Icons">Noun Project</a> (CC BY 3.0)

resources/icons/add_wallet.svg

Lines changed: 1 addition & 0 deletions
Loading

resources/icons/external_link.svg

Lines changed: 4 additions & 8 deletions
Loading

resources/icons/import.svg

Lines changed: 2 additions & 0 deletions
Loading

resources/icons/import2.svg

Lines changed: 6 additions & 0 deletions
Loading

resources/icons/info.svg

Lines changed: 49 additions & 0 deletions
Loading

resources/icons/logout.svg

Lines changed: 1 addition & 0 deletions
Loading

resources/icons/upload.svg

Lines changed: 5 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)