feat: workspace 骨架 — core + cli 模块结构

This commit is contained in:
2026-06-16 23:27:58 +08:00
parent 7590b290ca
commit ad77b3ac1b
25 changed files with 404 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
[package]
name = "qr-core"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
[dependencies]
image = { version = "0.25", default-features = false, features = ["png"] }
[dev-dependencies]
+1
View File
@@ -0,0 +1 @@
// FIXME: GF(2⁸) Galois 域运算 — Task 2
+2
View File
@@ -0,0 +1,2 @@
pub mod galois;
pub mod reed_solomon;
+1
View File
@@ -0,0 +1 @@
// FIXME: Reed-Solomon 编码器 — Task 4
+1
View File
@@ -0,0 +1 @@
// FIXME: 比特流 — Task 6
+3
View File
@@ -0,0 +1,3 @@
pub mod mode;
pub mod segment;
pub mod bitstream;
+1
View File
@@ -0,0 +1 @@
// FIXME: 编码模式 — Task 5
+1
View File
@@ -0,0 +1 @@
// FIXME: 数据分段 — Task 6
+6
View File
@@ -0,0 +1,6 @@
pub mod ecc;
pub mod encoder;
pub mod matrix;
pub mod render;
pub mod version;
pub mod qr;
+1
View File
@@ -0,0 +1 @@
// FIXME: 模块矩阵 — Task 7
+1
View File
@@ -0,0 +1 @@
// FIXME: 掩码评分 — Task 8
+4
View File
@@ -0,0 +1,4 @@
pub mod grid;
pub mod patterns;
pub mod placement;
pub mod mask;
+1
View File
@@ -0,0 +1 @@
// FIXME: 功能图案 — Task 7
+1
View File
@@ -0,0 +1 @@
// FIXME: 数据排列 — Task 8
+1
View File
@@ -0,0 +1 @@
// FIXME: 顶层 QR 码 API — Task 10
+1
View File
@@ -0,0 +1 @@
// FIXME: ASCII 渲染器 — Task 10
+3
View File
@@ -0,0 +1,3 @@
pub mod png;
pub mod svg;
pub mod ascii;
+1
View File
@@ -0,0 +1 @@
// FIXME: PNG 渲染器 — Task 10
+1
View File
@@ -0,0 +1 @@
// FIXME: SVG 渲染器 — Task 10
+1
View File
@@ -0,0 +1 @@
// FIXME: 版本参数表 — Task 3