Skip to content

Commit f77bc87

Browse files
authored
Feat/infinite scroll (#15)
* fix: response data * refactor: upload and download progress * fix: make clippy happy again * feat: infinite scroll done
1 parent 3ffed27 commit f77bc87

File tree

21 files changed

+626
-815
lines changed

21 files changed

+626
-815
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,20 @@ description = "A simple cross-platform desktop application for S3-Compatible Obj
77
[package.metadata.bundle]
88
name = "Caricare"
99
identifier = "com.fireyy.caricare"
10-
icon = ["icons/Icon.icns", "icons/Icon.iconset/icon-256.png", "icons/Icon.iconset/icon-32.png", "icons/Icon.iconset/icon-16.png"]
10+
icon = [
11+
"icons/Icon.icns",
12+
"icons/Icon.iconset/icon-256.png",
13+
"icons/Icon.iconset/icon-32.png",
14+
"icons/Icon.iconset/icon-16.png",
15+
]
1116
version = "1.0.0"
1217
copyright = "Copyright (c) Fireyy (2023). All rights reserved."
1318
category = "Developer Tool"
1419
short_description = "A simple cross-platform desktop application for S3-Compatible Object Storage."
1520
osx_minimum_system_version = "10.12"
1621

1722
[features]
18-
default = ["services-s3-compatible"]
19-
# Enable Amazon Simple Storage Service support
20-
services-s3 = ["cc_storage/services-s3"]
21-
# Enable Aliyun Object Storage Service support
22-
services-oss = ["cc_storage/services-oss"]
23-
# Enable Google Cloud Storage support
24-
services-gcs = ["cc_storage/services-gcs"]
25-
# Enable Azure Blob Storage support
26-
services-azblob = ["cc_storage/services-azblob"]
27-
# Enable S3-Compatible Object Storage support
28-
services-s3-compatible = ["cc_storage/services-s3-compatible"]
23+
default = []
2924
# Enable CJK char support
3025
lang-cjk = ["cc_ui/lang-cjk"]
3126

@@ -38,7 +33,12 @@ serde = { workspace = true }
3833
egui = { workspace = true }
3934
cc_files = { workspace = true }
4035
egui_extras = { workspace = true }
41-
image = { version = "0.24.6", default-features = false, features = ["png", "jpeg", "gif", "webp"] }
36+
image = { version = "0.24.6", default-features = false, features = [
37+
"png",
38+
"jpeg",
39+
"gif",
40+
"webp",
41+
] }
4242
rfd = "0.10"
4343
egui-notify = "0.6"
4444
tracing = { workspace = true }
@@ -48,9 +48,7 @@ once_cell = { workspace = true }
4848

4949
[workspace]
5050
resolver = "2"
51-
members = [
52-
"crates/*",
53-
]
51+
members = ["crates/*"]
5452

5553
[workspace.package]
5654
authors = ["fireyy zhu <fireyy@gmail.com>"]
@@ -88,4 +86,4 @@ strip = true
8886
opt-level = "z"
8987
lto = true
9088
codegen-units = 1
91-
panic = "abort"
89+
panic = "abort"

crates/cc_storage/Cargo.toml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,22 @@ edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

8-
[features]
9-
default = ["services-s3-compatible"]
10-
# Enable Amazon Simple Storage Service support
11-
services-s3 = ["opendal/services-s3"]
12-
# Enable Aliyun Object Storage Service support
13-
services-oss = ["opendal/services-oss"]
14-
# Enable Google Cloud Storage support
15-
services-gcs = ["opendal/services-gcs"]
16-
# Enable Azure Blob Storage support
17-
services-azblob = ["opendal/services-azblob"]
18-
# Enable S3-Compatible Object Storage support
19-
services-s3-compatible = ["services-s3"]
20-
218
[dependencies]
229
thiserror = "1.0"
2310
anyhow = "1.0"
2411
tracing = { workspace = true }
2512
bytesize = "1.1.0"
2613
chrono = "0.4.24"
27-
opendal = "0.40.0"
14+
opendal = { version = "0.44.2", default-features = false, features = [
15+
"services-azblob",
16+
"services-gcs",
17+
"services-oss",
18+
"services-s3",
19+
] }
2820
http = "0.2.9"
2921
futures = "0.3"
3022
bytes = "1.3"
3123
tokio = { version = "^1.0", features = ["fs", "io-util", "sync"] }
3224
pin-project = "1"
3325
crossbeam-channel = { workspace = true }
34-
async-trait = "0.1.68"
35-
cc_core = { workspace = true }
26+
cc_core = { workspace = true }

0 commit comments

Comments
 (0)