Skip to content

Commit 7e8ae2c

Browse files
authored
feat: cleanup dependency (#1549)
1 parent 9b2301f commit 7e8ae2c

File tree

6 files changed

+7
-43
lines changed

6 files changed

+7
-43
lines changed

.github/workflows/base.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ on:
1515
- 'docs/**'
1616
- 'moon/**'
1717
- 'scripts/**'
18-
- 'third-party/**'
1918
- 'toolchains/**'
2019
- '.github/workflows/web-**'
2120
- 'extensions/**'

.github/workflows/mono-engine-deploy.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ on:
66
paths-ignore:
77
- '.devcontainer/**'
88
- '.github/**'
9-
- 'alfs/**'
10-
- 'aries/**'
119
- 'config/**'
1210
- 'docker/**'
1311
- 'docs/**'
@@ -19,7 +17,6 @@ on:
1917
- 'scorpio/**'
2018
- 'scripts/**'
2119
- 'tests/**'
22-
- 'third-party/**'
2320
- 'toolchains/**'
2421

2522
env:

.github/workflows/services.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
- 'moon/**'
1010
- 'rust/**'
1111
- 'scripts/**'
12-
- 'third-party/**'
1312
- 'toolchains/**'
1413
- 'extensions/**'
1514

Cargo.toml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ axum-extra = "0.10.3"
5858
russh = "0.52.1"
5959
tower-http = "0.6.6"
6060
tower = "0.5.2"
61+
tower-sessions = { version = "0.12.3", features = ["memory-store"] }
6162
time = { version = "0.3", features = ["serde"] }
6263

6364
#====
@@ -68,18 +69,13 @@ sea-orm-migration = "1.1.17"
6869
rand = "0.9.2"
6970
rand_chacha = "0.9.0"
7071
flate2 = "1.1.4"
71-
bstr = "1.12.0"
7272
smallvec = "1.15.1"
7373
bytes = "1.10.1"
74-
memchr = "2.7.6"
7574
chrono = { version = "0.4.42", features = ["serde"] }
7675
sha1 = "0.10.6"
7776
hex = "0.4.3"
7877

79-
go-defer = "0.1.0"
80-
colored = "3.0.0"
8178
idgenerator = "2.0.0"
82-
num_cpus = "1.17.0"
8379
config = "0.15.18"
8480
reqwest = "0.12.24"
8581
lazy_static = "1.5.0"
@@ -94,46 +90,30 @@ pgp = "0.15.0"
9490
openssl = "0.10.73"
9591
oauth2 = "5.0.0"
9692
base64 = "0.22.1"
97-
encoding_rs = "0.8.35"
9893
aws-config = "1.8.8"
9994
aws-sdk-s3 = "1.108.0"
10095
utoipa = { version = "5.4.0", features = ["chrono"] }
10196
utoipa-axum = "0.2.0"
10297
utoipa-swagger-ui = "9.0.2"
10398
tempfile = "3.23.0"
10499
rdkafka = "0.38.0"
105-
threadpool = "1.8.1"
106-
lru-mem = "0.3.0"
107100
dashmap = "6.1.0"
108-
rayon = "1.11.0"
109-
byteorder = "1.5.0"
110-
bincode = "2.0.1"
111101
once_cell = "1.21.3"
112102
testcontainers = "0.25.0"
113103
scopeguard = "1.2.0"
114104
serial_test = "3.2.0"
115105
sysinfo = "0.36.1"
116106
http = "1.3.1"
117-
byte-unit = "5.1.6"
118-
ignore = "0.4.23"
119-
indicatif = "0.18.0"
120107
infer = "0.19.0"
121108
path-absolutize = "3.1.1"
122-
pathdiff = "0.2.3"
123-
rpassword = "7.4.0"
124-
similar = "2.7.0"
125109
url = "2.5.7"
126-
wax = "0.6.0"
127-
pager = "0.16.1"
128110
jemallocator = "0.5.4"
129111
mimalloc = "0.1.48"
130112
assert_cmd = "2.0.17"
131-
tower-sessions = { version = "0.12.3", features = ["memory-store"] }
132113
dotenvy = "0.15.7"
133114
tokio-tungstenite = "0.27.0"
134115
tungstenite = "0.27.0"
135116
itertools = "0.14.0"
136-
rusty_vault = "0.2.1"
137117
bs58 = "0.5.1"
138118
syn = "2.0"
139119
quote = "1.0"
@@ -147,12 +127,8 @@ tar = "0.4"
147127
indexmap = "2.11.4"
148128
envsubst = "0.2.1"
149129
diffs = "0.5.1"
150-
libc = "0.2.177"
151-
zstd-sys = "2.0.16"
152-
quickcheck = "1.0.3"
153130
directories = "6.0.0"
154131
dotenv = "0.15"
155-
ahash = "0.8.12"
156132

157133
[profile.release]
158134
debug = true

mono/src/api/router/issue_router.rs

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,17 @@ use axum::{
55
use utoipa_axum::{router::OpenApiRouter, routes};
66

77
use callisto::sea_orm_active_enums::ConvTypeEnum;
8-
use common::model::{CommonPage, CommonResult, PageParams};
9-
use jupiter::service::issue_service::IssueService;
10-
11-
use crate::api::{
12-
MonoApiServiceState,
13-
api_common,
14-
oauth::model::LoginUser, // api_common::{self, model::AssigneeUpdatePayload},
15-
};
16-
use crate::{api::error::ApiError, server::http_server::ISSUE_TAG};
17-
use ceres::model::issue::{IssueDetailRes, ItemRes, NewIssue};
188
use ceres::model::{
19-
// api_common::model::ListPayload,
209
change_list::{AssigneeUpdatePayload, ListPayload},
2110
conversation::ContentPayload,
22-
issue::{IssueSuggestions, QueryPayload},
11+
issue::{IssueDetailRes, IssueSuggestions, ItemRes, NewIssue, QueryPayload},
2312
label::LabelUpdatePayload,
2413
};
14+
use common::model::{CommonPage, CommonResult, PageParams};
15+
use jupiter::service::issue_service::IssueService;
16+
17+
use crate::api::{MonoApiServiceState, api_common, oauth::model::LoginUser};
18+
use crate::{api::error::ApiError, server::http_server::ISSUE_TAG};
2519

2620
pub fn routers() -> OpenApiRouter<MonoApiServiceState> {
2721
OpenApiRouter::new().nest(

mono/src/api/router/label_router.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use utoipa_axum::{router::OpenApiRouter, routes};
66
use common::model::{CommonPage, CommonResult, PageParams};
77

88
use crate::api::MonoApiServiceState;
9-
// use crate::api::label::{LabelItem, NewLabel};
109
use crate::api::oauth::model::LoginUser;
1110
use crate::{api::error::ApiError, server::http_server::LABEL_TAG};
1211

0 commit comments

Comments
 (0)