Skip to content

Commit c2235be

Browse files
committed
build: add package metadata
1 parent e96094b commit c2235be

9 files changed

Lines changed: 52 additions & 8 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ resolver = "2"
1111
[workspace.package]
1212
edition = "2024"
1313
license = "GPL-3.0-only"
14-
repository = "https://github.com/mates-inc/fastqr"
14+
repository = "https://github.com/mates-dev/fastqr"
1515
rust-version = "1.93"
1616
version = "0.1.0"
1717

crates/fastqr_core/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[package]
22
name = "fastqr-core"
3+
description = "Core QR encoding, decoding, masking, and Reed-Solomon primitives for fastqr"
34
edition.workspace = true
45
license.workspace = true
56
repository.workspace = true

crates/fastqr_image/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[package]
22
name = "fastqr-image"
3+
description = "Raster rendering and image decoding support for fastqr QR codes"
34
edition.workspace = true
45
license.workspace = true
56
repository.workspace = true
67
rust-version.workspace = true
78
version.workspace = true
89

910
[dependencies]
10-
fastqr-core = { path = "../fastqr_core" }
11+
fastqr-core = { path = "../fastqr_core", version = "0.1.0" }
1112
image.workspace = true
1213
smallvec.workspace = true

crates/fastqr_napi/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[package]
22
name = "fastqr-napi"
3+
description = "N-API bindings for fastqr Node.js QR workflows"
34
edition.workspace = true
45
license.workspace = true
56
repository.workspace = true
@@ -10,8 +11,8 @@ version.workspace = true
1011
crate-type = ["cdylib"]
1112

1213
[dependencies]
13-
fastqr-core = { path = "../fastqr_core" }
14-
fastqr-image = { path = "../fastqr_image" }
14+
fastqr-core = { path = "../fastqr_core", version = "0.1.0" }
15+
fastqr-image = { path = "../fastqr_image", version = "0.1.0" }
1516
napi.workspace = true
1617
napi-derive.workspace = true
1718

crates/fastqr_tui/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[package]
22
name = "fastqr-tui"
3+
description = "Command-line and terminal rendering interface for fastqr"
34
autobins = false
45
edition.workspace = true
56
license.workspace = true
@@ -12,5 +13,5 @@ name = "fastqr"
1213
path = "src/main.rs"
1314

1415
[dependencies]
15-
fastqr-core = { path = "../fastqr_core" }
16-
fastqr-image = { path = "../fastqr_image" }
16+
fastqr-core = { path = "../fastqr_core", version = "0.1.0" }
17+
fastqr-image = { path = "../fastqr_image", version = "0.1.0" }

crates/fastqr_wasm/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[package]
22
name = "fastqr-wasm"
3+
description = "WebAssembly bindings for fastqr browser QR workflows"
34
edition.workspace = true
45
license.workspace = true
56
repository.workspace = true
@@ -13,8 +14,8 @@ crate-type = ["cdylib", "rlib"]
1314
wasm-opt = false
1415

1516
[dependencies]
16-
fastqr-core = { path = "../fastqr_core" }
17-
fastqr-image = { path = "../fastqr_image" }
17+
fastqr-core = { path = "../fastqr_core", version = "0.1.0" }
18+
fastqr-image = { path = "../fastqr_image", version = "0.1.0" }
1819
js-sys.workspace = true
1920
wasm-bindgen.workspace = true
2021
web-sys.workspace = true

npm/fastqr/package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,23 @@
22
"name": "fastqr",
33
"version": "0.1.0",
44
"description": "Rust-powered fastqr toolkit for Node.js and the browser",
5+
"keywords": [
6+
"barcode",
7+
"napi",
8+
"qr",
9+
"qrcode",
10+
"wasm"
11+
],
12+
"homepage": "https://github.com/mates-dev/fastqr#readme",
13+
"bugs": {
14+
"url": "https://github.com/mates-dev/fastqr/issues"
15+
},
516
"license": "GPL-3.0-only",
17+
"repository": {
18+
"type": "git",
19+
"url": "git+https://github.com/mates-dev/fastqr.git",
20+
"directory": "npm/fastqr"
21+
},
622
"files": [
723
"browser.d.ts",
824
"browser.js",

npm/fastqr_vue/package.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,23 @@
22
"name": "@fastqr/vue",
33
"version": "0.1.0",
44
"description": "Vue composables for fastqr browser workflows",
5+
"keywords": [
6+
"composables",
7+
"qr",
8+
"qrcode",
9+
"vue",
10+
"wasm"
11+
],
12+
"homepage": "https://github.com/mates-dev/fastqr#readme",
13+
"bugs": {
14+
"url": "https://github.com/mates-dev/fastqr/issues"
15+
},
516
"license": "GPL-3.0-only",
17+
"repository": {
18+
"type": "git",
19+
"url": "git+https://github.com/mates-dev/fastqr.git",
20+
"directory": "npm/fastqr_vue"
21+
},
622
"files": [
723
"README.md",
824
"dist",
@@ -19,6 +35,9 @@
1935
"default": "./dist/index.js"
2036
}
2137
},
38+
"publishConfig": {
39+
"access": "public"
40+
},
2241
"scripts": {
2342
"task:fmt": "vp fmt",
2443
"task:build": "vp run build",

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"name": "fastqr-workspace",
33
"private": true,
44
"license": "GPL-3.0-only",
5+
"repository": {
6+
"type": "git",
7+
"url": "git+https://github.com/mates-dev/fastqr.git"
8+
},
59
"devDependencies": {
610
"typescript": "^5.9.3",
711
"vite-plus": "latest"

0 commit comments

Comments
 (0)