dev/test 构建默认 incremental=true,sccache 对增量目标直接拒缓存 (CannotCache(incremental)),target 只增不减。关掉后 dev 构建也能命中外层缓存。
21 lines
638 B
TOML
21 lines
638 B
TOML
[package]
|
||
name = "ipass-plugin-cache"
|
||
version = "2.0.0"
|
||
edition = "2021"
|
||
publish = false
|
||
description = "iPass cache plugin: 统一制品缓存(go/rust/python/npm/java/docker)鉴权 / 命中计量 / 管理 API"
|
||
|
||
[lib]
|
||
# 只有 gateway 是 cdylib;插件一律 rlib(跨 .so 传 Rust 类型会双重 free)
|
||
crate-type = ["rlib"]
|
||
|
||
[dependencies]
|
||
ipass-core = { path = "../ipass-core/rust/crates/ipass-core" }
|
||
ngx = { path = "../ipass-core/rust/vendor/ngx-rust" }
|
||
nginx-sys = { path = "../ipass-core/rust/vendor/ngx-rust/nginx-sys" }
|
||
serde = { version = "1", features = ["derive"] }
|
||
serde_json = "1"
|
||
|
||
[profile.dev]
|
||
incremental = false
|