mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-02 02:00:49 +08:00
c8cdc488db
#### PR Dependency Tree * **PR #14964** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added entitlement resolution to validate licenses and derive plan, quotas, expiry and flags. * Introduced persistent quota/entitlement state for users and workspaces with legacy sync behavior. * Real-time quota-state operations and change events for monitoring usage. * **Chores** * Updated workspace dependencies to add cryptography/hash crates. * **Tests** * Added native entitlement tests covering validation, quantity handling, and signature/expiry cases. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/toeverything/AFFiNE/pull/14964) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
63 lines
1.8 KiB
TOML
63 lines
1.8 KiB
TOML
[package]
|
|
edition = "2024"
|
|
license-file = "LICENSE"
|
|
name = "affine_server_native"
|
|
publish = false
|
|
version = "1.0.0"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
affine_common = { workspace = true, features = [
|
|
"doc-loader",
|
|
"hashcash",
|
|
"napi",
|
|
"ydoc-loader",
|
|
] }
|
|
aes-gcm = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
base64-simd = { workspace = true }
|
|
chrono = { workspace = true }
|
|
file-format = { workspace = true }
|
|
hex = { workspace = true }
|
|
image = { workspace = true }
|
|
infer = { workspace = true }
|
|
jsonschema = "0.46"
|
|
libwebp-sys = { workspace = true }
|
|
little_exif = { workspace = true }
|
|
llm_adapter = { workspace = true, features = ["schema", "ureq-client"] }
|
|
llm_runtime = { workspace = true, features = ["schema", "ureq-client"] }
|
|
matroska = { workspace = true }
|
|
mp4parse = { workspace = true }
|
|
napi = { workspace = true, features = ["async", "serde-json"] }
|
|
napi-derive = { workspace = true }
|
|
p256 = { workspace = true }
|
|
rand = { workspace = true }
|
|
reqwest = { version = "0.13.3", default-features = false, features = [
|
|
"blocking",
|
|
"rustls",
|
|
] }
|
|
schemars = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
sha3 = { workspace = true }
|
|
tiktoken-rs = { workspace = true }
|
|
url = { workspace = true }
|
|
v_htmlescape = { workspace = true }
|
|
y-octo = { workspace = true, features = ["large_refs"] }
|
|
|
|
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
|
mimalloc = { workspace = true }
|
|
|
|
[target.'cfg(all(target_os = "linux", not(target_arch = "arm")))'.dependencies]
|
|
mimalloc = { workspace = true, features = ["local_dynamic_tls"] }
|
|
|
|
[dev-dependencies]
|
|
rayon = { workspace = true }
|
|
tokio = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
napi-build = { workspace = true }
|