Skip to content

Commit

Permalink
Feat/infinite scroll (#15)
Browse files Browse the repository at this point in the history
* fix: response data

* refactor: upload and download progress

* fix: make clippy happy again

* feat: infinite scroll done
  • Loading branch information
fireyy authored Jun 27, 2024
1 parent 3ffed27 commit f77bc87
Show file tree
Hide file tree
Showing 21 changed files with 626 additions and 815 deletions.
625 changes: 391 additions & 234 deletions Cargo.lock

Large diffs are not rendered by default.

32 changes: 15 additions & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,20 @@ description = "A simple cross-platform desktop application for S3-Compatible Obj
[package.metadata.bundle]
name = "Caricare"
identifier = "com.fireyy.caricare"
icon = ["icons/Icon.icns", "icons/Icon.iconset/icon-256.png", "icons/Icon.iconset/icon-32.png", "icons/Icon.iconset/icon-16.png"]
icon = [
"icons/Icon.icns",
"icons/Icon.iconset/icon-256.png",
"icons/Icon.iconset/icon-32.png",
"icons/Icon.iconset/icon-16.png",
]
version = "1.0.0"
copyright = "Copyright (c) Fireyy (2023). All rights reserved."
category = "Developer Tool"
short_description = "A simple cross-platform desktop application for S3-Compatible Object Storage."
osx_minimum_system_version = "10.12"

[features]
default = ["services-s3-compatible"]
# Enable Amazon Simple Storage Service support
services-s3 = ["cc_storage/services-s3"]
# Enable Aliyun Object Storage Service support
services-oss = ["cc_storage/services-oss"]
# Enable Google Cloud Storage support
services-gcs = ["cc_storage/services-gcs"]
# Enable Azure Blob Storage support
services-azblob = ["cc_storage/services-azblob"]
# Enable S3-Compatible Object Storage support
services-s3-compatible = ["cc_storage/services-s3-compatible"]
default = []
# Enable CJK char support
lang-cjk = ["cc_ui/lang-cjk"]

Expand All @@ -38,7 +33,12 @@ serde = { workspace = true }
egui = { workspace = true }
cc_files = { workspace = true }
egui_extras = { workspace = true }
image = { version = "0.24.6", default-features = false, features = ["png", "jpeg", "gif", "webp"] }
image = { version = "0.24.6", default-features = false, features = [
"png",
"jpeg",
"gif",
"webp",
] }
rfd = "0.10"
egui-notify = "0.6"
tracing = { workspace = true }
Expand All @@ -48,9 +48,7 @@ once_cell = { workspace = true }

[workspace]
resolver = "2"
members = [
"crates/*",
]
members = ["crates/*"]

[workspace.package]
authors = ["fireyy zhu <[email protected]>"]
Expand Down Expand Up @@ -88,4 +86,4 @@ strip = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
panic = "abort"
23 changes: 7 additions & 16 deletions crates/cc_storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,22 @@ edition = "2021"

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

[features]
default = ["services-s3-compatible"]
# Enable Amazon Simple Storage Service support
services-s3 = ["opendal/services-s3"]
# Enable Aliyun Object Storage Service support
services-oss = ["opendal/services-oss"]
# Enable Google Cloud Storage support
services-gcs = ["opendal/services-gcs"]
# Enable Azure Blob Storage support
services-azblob = ["opendal/services-azblob"]
# Enable S3-Compatible Object Storage support
services-s3-compatible = ["services-s3"]

[dependencies]
thiserror = "1.0"
anyhow = "1.0"
tracing = { workspace = true }
bytesize = "1.1.0"
chrono = "0.4.24"
opendal = "0.40.0"
opendal = { version = "0.44.2", default-features = false, features = [
"services-azblob",
"services-gcs",
"services-oss",
"services-s3",
] }
http = "0.2.9"
futures = "0.3"
bytes = "1.3"
tokio = { version = "^1.0", features = ["fs", "io-util", "sync"] }
pin-project = "1"
crossbeam-channel = { workspace = true }
async-trait = "0.1.68"
cc_core = { workspace = true }
cc_core = { workspace = true }
Loading

0 comments on commit f77bc87

Please sign in to comment.