Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
yangjing committed Aug 1, 2024
1 parent 653d634 commit 5baf7ef
Show file tree
Hide file tree
Showing 47 changed files with 50 additions and 1,329 deletions.
54 changes: 2 additions & 52 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["qinling/qinling-iam", "ultimates/*", "crates/*"]
members = ["ultimates/*", "crates/*"]
resolver = "2"

[workspace.package]
Expand Down Expand Up @@ -69,20 +69,22 @@ argon2 = "0.5"
josekit = "0.8"
aliri = "0.6"
# -- Async
futures = "0.3"
async-trait = "0.1"
tokio = { version = "1", features = [
"rt",
"rt-multi-thread",
"net",
"macros",
"time",
"signal",
] }
tokio-stream = { version = "0.1", features = ["time"] }
futures = "0.3"
async-trait = "0.1"
# -- Logging
log = "0.4"
env_logger = "0.11"
# -- Tracing
tracing = "0.1"
tracing = { version = "0.1", features = ["log"] }
tracing-log = "0.2"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2"
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# 融合平台
# Ultimate Common

## 项目结构
Rust 实用工具库,微服务融合……

- [crates](crates/): 工具库、组件库,可以包含对第 3 方服务的依赖。
- [ultimates](ultimates/): ultimate 融合库。比如:数据库、消息系统等,可以放置类似 `spring-boot` 一样的 **starter**

- [ultimates](ultimates/): 后端服务
- [crates](crates/): 工具库、组件库,可以包含对第 3 方服务的依赖。比如:数据库、消息系统等,可以放置类似 `spring-boot` 一样的 **starter**
2 changes: 1 addition & 1 deletion crates/huaweicloud-sdk-core/src/client/client_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,12 @@ mod tests {
fn test_canonical_request() -> Result<()> {
let text = r#"[hw]
project_id = "nicoh8paich7aeheer2oocahZa7da0nu"
endpoint = "https://vpc.cn-southwest-2.myhuaweicloud.com"
# HW.CREDENTIALS
[hw.credentials]
ak = "Bahvahbahre5tae1aiye"
sk = "EephooKohTh1iechapia0aem0bi2We7eeka9di3i"
endpoint = "https://vpc.cn-southwest-2.myhuaweicloud.com"
# HW.USER_PASSWORD
[hw.user_password]
Expand Down
3 changes: 1 addition & 2 deletions crates/huaweicloud-sdk-obs/examples/example-obs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ async fn main() -> Result<()> {
let cc = ClientConfig::load_from_file(&file)?;
let cc = Arc::new(cc);

// let obs = ObsClient::new(cc.clone());
// obs.get_object()
let _obs = ObsClient::new(cc.clone());

Ok(())
}
51 changes: 0 additions & 51 deletions qinling/qinling-iam/Cargo.toml

This file was deleted.

20 changes: 0 additions & 20 deletions qinling/qinling-iam/README.md

This file was deleted.

17 changes: 0 additions & 17 deletions qinling/qinling-iam/build.rs.bak

This file was deleted.

108 changes: 0 additions & 108 deletions qinling/qinling-iam/examples/http-e2etest-iam.rs

This file was deleted.

19 changes: 0 additions & 19 deletions qinling/qinling-iam/proto/qinling/qinling_iam-auth.proto

This file was deleted.

Loading

0 comments on commit 5baf7ef

Please sign in to comment.