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 }}
86maid
ddddocr
Repository navigation
Code
Issues
15
(15)
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
ddddocr
/
Cargo.toml
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
79 lines (61 loc) · 1.45 KB
master
Breadcrumbs
ddddocr
/
Cargo.toml
Copy path
Top
File metadata and controls
Code
Blame
79 lines (61 loc) · 1.45 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
70
71
72
73
74
75
76
77
78
79
[package]
name = "ddddocr"
version = "1.0.0"
edition = "2021"
[features]
default = ["inline-model", "download-binaries"]
# 编译 main 的时候,是否内联模型
inline-model = []
# cuda 支持
cuda = ["ort/cuda"]
# 动态链接
load-dynamic = ["ort/load-dynamic"]
# 自动下载动态链接或静态库,取决于 load-dynamic
download-binaries = ["ort/download-binaries"]
[dependencies]
# 推理与数值计算,删除 Windows DML 以增加兼容性
ort = { git = "https://github.com/86maid/ort.git", default-features = false, features = [
"ndarray",
"half",
"copy-dylibs",
] }
ndarray = "0.15"
# 静态变量
lazy_static = "1.5.0"
# 序列化 / 反序列化
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# 错误处理
anyhow = "1.0"
# 图像处理
image = "0.25"
imageproc = "0.25.0"
# 加密 / 哈希
sha256 = "1.6"
base64 = "0.22"
# web 框架
salvo = { version = "0.85", features = [
"oapi",
"anyhow",
"rustls",
"acme",
"logging",
] }
salvo_extra = { version = "0.85.0", default-features = false, features = [
"logging",
] }
# 日志
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
tracing = "0.1.41"
# 命令行参数
clap = { version = "4.5", features = ["derive"] }
# 异步运行时
tokio = { version = "1.48", features = ["full"] }
# 缓存
lru = "0.16"
bytes = "1.11"
async-trait = "0.1"
# ansi
enable-ansi-support = "0.3"
# mcp
rmcp = { version = "0.12.0", features = ["server"] }
You can’t perform that action at this time.