Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
EasyIndie
EasyInputMethod
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
EasyInputMethod
/
deny.toml
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
69 lines (64 loc) · 1.89 KB
main
Breadcrumbs
EasyInputMethod
/
deny.toml
Copy path
Top
File metadata and controls
Code
Blame
69 lines (64 loc) · 1.89 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# cargo-deny 策略:本项目为 GPL-3.0-or-later,只接受许可兼容的依赖。
# 运行: make deny
# 文档: https://embarkstudios.github.io/cargo-deny/
[graph]
all-features = true
[advisories]
# 发现安全公告即失败(漏洞依赖不得进入)
version = 2
yanked = "deny"
ignore = [] # 如需临时忽略,必须写 ADR 说明
[licenses]
version = 2
# 允许与 GPL-3.0-or-later 兼容的许可。
# 新增许可前请确认兼容性(见 docs/数据来源与许可.md §5)。
allow = [
"MIT",
"MIT-0",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Zlib",
"0BSD",
"Unlicense",
"CC0-1.0",
"BSL-1.0",
"Unicode-3.0",
"Unicode-DFS-2016",
"MPL-2.0",
"LGPL-3.0-only",
"LGPL-3.0-or-later",
"GPL-3.0-only",
"GPL-3.0-or-later",
]
confidence-threshold = 0.9
# 允许清单是「政策」而非「当前用到的集合」;未命中的条目不必逐条告警。
unused-allowed-license = "allow"
[bans]
multiple-versions = "warn"
# 内部 workspace 路径依赖用 `workspace = true` 继承版本,会被误判为通配符;
# 因此用 warn(外部依赖的真实通配符仍会告警)。
wildcards = "warn"
# 禁止把网络/遥测库引入核心 crate(见 AGENTS.md 铁律 1)。
# 注意:cargo-deny 只能按 crate 名匹配,这里列出常见网络/遥测库作为护栏。
# 注意:此禁令是 workspace 级。P6 的模型下载器(合法网络点)必须放在 workspace 外
#(独立工具),否则会触发此禁令(见 docs/reviews/001.md P2-6)。
deny = [
{ name = "reqwest" },
{ name = "hyper" },
{ name = "ureq" },
{ name = "isahc" },
{ name = "curl" },
{ name = "surf" },
{ name = "awc" },
{ name = "tonic" },
{ name = "sentry" },
{ name = "opentelemetry" },
{ name = "mixpanel" },
{ name = "segment" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
You can’t perform that action at this time.