Skip to content

build(as): drop shadow_rs from runtime deps, use const_format for concatcp - #194

Merged
jialez0 merged 1 commit into
openanolis:mainfrom
imlk0:no-shadow-rs
Jul 17, 2026
Merged

build(as): drop shadow_rs from runtime deps, use const_format for concatcp#194
jialez0 merged 1 commit into
openanolis:mainfrom
imlk0:no-shadow-rs

Conversation

@imlk0

@imlk0 imlk0 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Remove shadow_rs from the build artifact, using it only at build time, which avoids pulling libgit2-sys into the resulting binary. Replace shadow_rs::concatcp in the token module with const_format::concatcp, and manage the const_format dependency at the workspace level.

🤖 Generated with Claude Code

@shankailun-aliyun

Copy link
Copy Markdown
Collaborator

@imlk0 ,您好,您的请求已接收,请耐心等待结果。

@shankailun-aliyun

Copy link
Copy Markdown
Collaborator

@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start

@shankailun-aliyun

Copy link
Copy Markdown
Collaborator

@imlk0 ,您好,您的请求已接收,请耐心等待结果。

@shankailun-aliyun

Copy link
Copy Markdown
Collaborator

@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start

@shankailun-aliyun

Copy link
Copy Markdown
Collaborator

@imlk0 ,您好,您的请求已接收,请耐心等待结果。

@shankailun-aliyun

Copy link
Copy Markdown
Collaborator

@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start

…catcp

Remove shadow_rs from the build artifact, using it only at build time, which avoids pulling libgit2-sys into the resulting binary. Replace shadow_rs::concatcp in the token module with const_format::concatcp, and manage the const_format dependency at the workspace level.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Kun Lai <laikun@linux.alibaba.com>
@shankailun-aliyun

Copy link
Copy Markdown
Collaborator

@imlk0 ,您好,您的请求已接收,请耐心等待结果。

@shankailun-aliyun

Copy link
Copy Markdown
Collaborator

@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start

@jialez0
jialez0 merged commit afc3786 into openanolis:main Jul 17, 2026
5 checks passed
jialez0 added a commit to imlk0/trustee that referenced this pull request Jul 17, 2026
…(const_format) and openanolis#193

# Conflicts:
#	attestation-service/Cargo.toml
#	attestation-service/src/token/oidc.rs
#	attestation-service/src/token/simple.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants