Skip to content

Commit 1bfc1e6

Browse files
authored
chore: rename crates (#453)
Rename File Explorer Crates to be: - `file-explorer`: Crate for File Explorer Logic, agnostic to UI/Plugin - `file-explorer-plugin`: HTTP Server RS Plugin <!-- Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. -->
1 parent 6048b83 commit 1bfc1e6

File tree

13 files changed

+521
-521
lines changed

13 files changed

+521
-521
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[workspace]
22
members = [
33
"crates/file-explorer",
4-
"crates/file-explorer-core",
4+
"crates/file-explorer-plugin",
55
"crates/file-explorer-proto",
66
"crates/file-explorer-ui",
77
"crates/http-server",
@@ -51,7 +51,7 @@ tracing-subscriber = "0.3.18"
5151
web-sys = "0.3.72"
5252

5353
# Workspace Crates
54-
file-explorer-core = { path = "crates/file-explorer-core" }
54+
file-explorer = { path = "crates/file-explorer" }
5555
file-explorer-proto = { path = "crates/file-explorer-proto" }
5656
file-explorer-ui = { path = "crates/file-explorer-ui" }
5757
http-server-plugin = { path = "crates/http-server-plugin" }

crates/file-explorer-core/Cargo.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

crates/file-explorer-core/src/lib.rs

Lines changed: 0 additions & 113 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[package]
2+
name = "file-explorer-plugin"
3+
version = "0.0.0"
4+
authors = ["Esteban Borai <[email protected]>"]
5+
edition = "2021"
6+
publish = false
7+
8+
[lib]
9+
crate-type = ["cdylib"]
10+
11+
[dependencies]
12+
anyhow = { workspace = true }
13+
async-trait = { workspace = true }
14+
bytes = { workspace = true }
15+
chrono = { workspace = true, features = ["serde"] }
16+
futures = { workspace = true }
17+
http = { workspace = true }
18+
http-body-util = { workspace = true }
19+
humansize = { workspace = true }
20+
hyper = { workspace = true }
21+
mime_guess = { workspace = true }
22+
multer = { workspace = true }
23+
rust-embed = { workspace = true }
24+
serde = { workspace = true, features = ["derive"] }
25+
serde_json = { workspace = true }
26+
percent-encoding = { workspace = true }
27+
tokio = { workspace = true, features = ["fs", "rt-multi-thread", "signal", "macros"] }
28+
tokio-util = { workspace = true, features = ["io"] }
29+
tracing = { workspace = true }
30+
tracing-subscriber = { workspace = true, features = ["env-filter"] }
31+
32+
http-server-plugin = { workspace = true }
33+
file-explorer = { workspace = true }
34+
file-explorer-proto = { workspace = true }
35+
file-explorer-ui = { workspace = true }

0 commit comments

Comments
 (0)