@contentauth/c2pa-node 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.lock +262 -172
- package/Cargo.toml +1 -1
- package/README.md +159 -0
- package/dist/Reader.spec.js +23 -0
- package/dist/index.node +0 -0
- package/package.json +1 -1
- package/src/neon_builder.rs +6 -3
- package/src/neon_reader.rs +8 -6
package/Cargo.lock
CHANGED
|
@@ -89,6 +89,56 @@ dependencies = [
|
|
|
89
89
|
"libc",
|
|
90
90
|
]
|
|
91
91
|
|
|
92
|
+
[[package]]
|
|
93
|
+
name = "anstream"
|
|
94
|
+
version = "0.6.21"
|
|
95
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
96
|
+
checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
|
|
97
|
+
dependencies = [
|
|
98
|
+
"anstyle",
|
|
99
|
+
"anstyle-parse",
|
|
100
|
+
"anstyle-query",
|
|
101
|
+
"anstyle-wincon",
|
|
102
|
+
"colorchoice",
|
|
103
|
+
"is_terminal_polyfill",
|
|
104
|
+
"utf8parse",
|
|
105
|
+
]
|
|
106
|
+
|
|
107
|
+
[[package]]
|
|
108
|
+
name = "anstyle"
|
|
109
|
+
version = "1.0.13"
|
|
110
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
111
|
+
checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
|
|
112
|
+
|
|
113
|
+
[[package]]
|
|
114
|
+
name = "anstyle-parse"
|
|
115
|
+
version = "0.2.7"
|
|
116
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
117
|
+
checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
|
|
118
|
+
dependencies = [
|
|
119
|
+
"utf8parse",
|
|
120
|
+
]
|
|
121
|
+
|
|
122
|
+
[[package]]
|
|
123
|
+
name = "anstyle-query"
|
|
124
|
+
version = "1.1.5"
|
|
125
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
126
|
+
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
|
|
127
|
+
dependencies = [
|
|
128
|
+
"windows-sys 0.60.2",
|
|
129
|
+
]
|
|
130
|
+
|
|
131
|
+
[[package]]
|
|
132
|
+
name = "anstyle-wincon"
|
|
133
|
+
version = "3.0.11"
|
|
134
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
135
|
+
checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
|
|
136
|
+
dependencies = [
|
|
137
|
+
"anstyle",
|
|
138
|
+
"once_cell_polyfill",
|
|
139
|
+
"windows-sys 0.60.2",
|
|
140
|
+
]
|
|
141
|
+
|
|
92
142
|
[[package]]
|
|
93
143
|
name = "anyhow"
|
|
94
144
|
version = "1.0.98"
|
|
@@ -100,9 +150,6 @@ name = "arbitrary"
|
|
|
100
150
|
version = "1.4.1"
|
|
101
151
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
102
152
|
checksum = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
|
|
103
|
-
dependencies = [
|
|
104
|
-
"derive_arbitrary",
|
|
105
|
-
]
|
|
106
153
|
|
|
107
154
|
[[package]]
|
|
108
155
|
name = "arg_enum_proc_macro"
|
|
@@ -123,9 +170,9 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
|
|
|
123
170
|
|
|
124
171
|
[[package]]
|
|
125
172
|
name = "asn1-rs"
|
|
126
|
-
version = "0.
|
|
173
|
+
version = "0.7.1"
|
|
127
174
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
128
|
-
checksum = "
|
|
175
|
+
checksum = "56624a96882bb8c26d61312ae18cb45868e5a9992ea73c58e45c3101e56a1e60"
|
|
129
176
|
dependencies = [
|
|
130
177
|
"asn1-rs-derive",
|
|
131
178
|
"asn1-rs-impl",
|
|
@@ -133,15 +180,15 @@ dependencies = [
|
|
|
133
180
|
"nom 7.1.3",
|
|
134
181
|
"num-traits",
|
|
135
182
|
"rusticata-macros",
|
|
136
|
-
"thiserror
|
|
183
|
+
"thiserror 2.0.17",
|
|
137
184
|
"time",
|
|
138
185
|
]
|
|
139
186
|
|
|
140
187
|
[[package]]
|
|
141
188
|
name = "asn1-rs-derive"
|
|
142
|
-
version = "0.
|
|
189
|
+
version = "0.6.0"
|
|
143
190
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
144
|
-
checksum = "
|
|
191
|
+
checksum = "3109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c"
|
|
145
192
|
dependencies = [
|
|
146
193
|
"proc-macro2",
|
|
147
194
|
"quote",
|
|
@@ -252,7 +299,7 @@ dependencies = [
|
|
|
252
299
|
"addr2line",
|
|
253
300
|
"cfg-if",
|
|
254
301
|
"libc",
|
|
255
|
-
"miniz_oxide",
|
|
302
|
+
"miniz_oxide 0.8.9",
|
|
256
303
|
"object",
|
|
257
304
|
"rustc-demangle",
|
|
258
305
|
"windows-targets 0.52.6",
|
|
@@ -442,15 +489,15 @@ dependencies = [
|
|
|
442
489
|
|
|
443
490
|
[[package]]
|
|
444
491
|
name = "bytes"
|
|
445
|
-
version = "1.
|
|
492
|
+
version = "1.11.1"
|
|
446
493
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
447
|
-
checksum = "
|
|
494
|
+
checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33"
|
|
448
495
|
|
|
449
496
|
[[package]]
|
|
450
497
|
name = "c2pa"
|
|
451
|
-
version = "0.
|
|
498
|
+
version = "0.77.0"
|
|
452
499
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
453
|
-
checksum = "
|
|
500
|
+
checksum = "fe6c3fcc525dcac6cde7d020cc4d3065b2d2042e48efc096baba97876b276f41"
|
|
454
501
|
dependencies = [
|
|
455
502
|
"asn1-rs",
|
|
456
503
|
"async-generic",
|
|
@@ -461,8 +508,8 @@ dependencies = [
|
|
|
461
508
|
"byteorder",
|
|
462
509
|
"byteordered",
|
|
463
510
|
"bytes",
|
|
511
|
+
"c2pa_cbor",
|
|
464
512
|
"chrono",
|
|
465
|
-
"ciborium",
|
|
466
513
|
"config",
|
|
467
514
|
"console_log",
|
|
468
515
|
"const-hex",
|
|
@@ -502,7 +549,7 @@ dependencies = [
|
|
|
502
549
|
"png_pong",
|
|
503
550
|
"quick-xml",
|
|
504
551
|
"rand 0.8.5",
|
|
505
|
-
"rand_chacha 0.
|
|
552
|
+
"rand_chacha 0.9.0",
|
|
506
553
|
"range-set",
|
|
507
554
|
"rasn",
|
|
508
555
|
"rasn-cms",
|
|
@@ -516,7 +563,6 @@ dependencies = [
|
|
|
516
563
|
"serde-transcode",
|
|
517
564
|
"serde-wasm-bindgen",
|
|
518
565
|
"serde_bytes",
|
|
519
|
-
"serde_cbor",
|
|
520
566
|
"serde_derive",
|
|
521
567
|
"serde_json",
|
|
522
568
|
"serde_with",
|
|
@@ -526,7 +572,7 @@ dependencies = [
|
|
|
526
572
|
"static-iref",
|
|
527
573
|
"tempfile",
|
|
528
574
|
"thiserror 2.0.17",
|
|
529
|
-
"toml",
|
|
575
|
+
"toml 1.0.4+spec-1.1.0",
|
|
530
576
|
"ureq 3.1.2",
|
|
531
577
|
"url",
|
|
532
578
|
"uuid",
|
|
@@ -561,10 +607,21 @@ dependencies = [
|
|
|
561
607
|
"thiserror 1.0.69",
|
|
562
608
|
"tokio",
|
|
563
609
|
"tokio-util",
|
|
564
|
-
"toml",
|
|
610
|
+
"toml 0.8.23",
|
|
565
611
|
"trustmark",
|
|
566
612
|
]
|
|
567
613
|
|
|
614
|
+
[[package]]
|
|
615
|
+
name = "c2pa_cbor"
|
|
616
|
+
version = "0.77.2"
|
|
617
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
618
|
+
checksum = "a32d9f47773390b9e3400021ddd9ef7a8d61b8a6501cf72aecd6409d6d447c89"
|
|
619
|
+
dependencies = [
|
|
620
|
+
"half",
|
|
621
|
+
"serde",
|
|
622
|
+
"serde_bytes",
|
|
623
|
+
]
|
|
624
|
+
|
|
568
625
|
[[package]]
|
|
569
626
|
name = "cbc"
|
|
570
627
|
version = "0.1.2"
|
|
@@ -654,7 +711,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
654
711
|
checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9"
|
|
655
712
|
dependencies = [
|
|
656
713
|
"ciborium-io",
|
|
657
|
-
"half
|
|
714
|
+
"half",
|
|
658
715
|
]
|
|
659
716
|
|
|
660
717
|
[[package]]
|
|
@@ -673,6 +730,12 @@ version = "1.1.0"
|
|
|
673
730
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
674
731
|
checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
|
|
675
732
|
|
|
733
|
+
[[package]]
|
|
734
|
+
name = "colorchoice"
|
|
735
|
+
version = "1.0.4"
|
|
736
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
737
|
+
checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
|
|
738
|
+
|
|
676
739
|
[[package]]
|
|
677
740
|
name = "config"
|
|
678
741
|
version = "0.14.1"
|
|
@@ -683,7 +746,7 @@ dependencies = [
|
|
|
683
746
|
"pathdiff",
|
|
684
747
|
"serde",
|
|
685
748
|
"serde_json",
|
|
686
|
-
"toml",
|
|
749
|
+
"toml 0.8.23",
|
|
687
750
|
]
|
|
688
751
|
|
|
689
752
|
[[package]]
|
|
@@ -905,9 +968,9 @@ dependencies = [
|
|
|
905
968
|
|
|
906
969
|
[[package]]
|
|
907
970
|
name = "der-parser"
|
|
908
|
-
version = "
|
|
971
|
+
version = "10.0.0"
|
|
909
972
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
910
|
-
checksum = "
|
|
973
|
+
checksum = "07da5016415d5a3c4dd39b11ed26f915f52fc4e0dc197d87908bc916e51bc1a6"
|
|
911
974
|
dependencies = [
|
|
912
975
|
"asn1-rs",
|
|
913
976
|
"displaydoc",
|
|
@@ -927,17 +990,6 @@ dependencies = [
|
|
|
927
990
|
"serde",
|
|
928
991
|
]
|
|
929
992
|
|
|
930
|
-
[[package]]
|
|
931
|
-
name = "derive_arbitrary"
|
|
932
|
-
version = "1.4.1"
|
|
933
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
934
|
-
checksum = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800"
|
|
935
|
-
dependencies = [
|
|
936
|
-
"proc-macro2",
|
|
937
|
-
"quote",
|
|
938
|
-
"syn 2.0.104",
|
|
939
|
-
]
|
|
940
|
-
|
|
941
993
|
[[package]]
|
|
942
994
|
name = "digest"
|
|
943
995
|
version = "0.10.7"
|
|
@@ -1063,16 +1115,26 @@ dependencies = [
|
|
|
1063
1115
|
]
|
|
1064
1116
|
|
|
1065
1117
|
[[package]]
|
|
1066
|
-
name = "
|
|
1067
|
-
version = "0.
|
|
1118
|
+
name = "env_filter"
|
|
1119
|
+
version = "0.1.4"
|
|
1068
1120
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1069
|
-
checksum = "
|
|
1121
|
+
checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2"
|
|
1070
1122
|
dependencies = [
|
|
1071
|
-
"humantime",
|
|
1072
|
-
"is-terminal",
|
|
1073
1123
|
"log",
|
|
1074
1124
|
"regex",
|
|
1075
|
-
|
|
1125
|
+
]
|
|
1126
|
+
|
|
1127
|
+
[[package]]
|
|
1128
|
+
name = "env_logger"
|
|
1129
|
+
version = "0.11.8"
|
|
1130
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1131
|
+
checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f"
|
|
1132
|
+
dependencies = [
|
|
1133
|
+
"anstream",
|
|
1134
|
+
"anstyle",
|
|
1135
|
+
"env_filter",
|
|
1136
|
+
"jiff",
|
|
1137
|
+
"log",
|
|
1076
1138
|
]
|
|
1077
1139
|
|
|
1078
1140
|
[[package]]
|
|
@@ -1118,9 +1180,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
1118
1180
|
checksum = "f83197f59927b46c04a183a619b7c29df34e63e63c7869320862268c0ef687e0"
|
|
1119
1181
|
dependencies = [
|
|
1120
1182
|
"bit_field",
|
|
1121
|
-
"half
|
|
1183
|
+
"half",
|
|
1122
1184
|
"lebe",
|
|
1123
|
-
"miniz_oxide",
|
|
1185
|
+
"miniz_oxide 0.8.9",
|
|
1124
1186
|
"rayon-core",
|
|
1125
1187
|
"smallvec",
|
|
1126
1188
|
"zune-inflate",
|
|
@@ -1128,9 +1190,9 @@ dependencies = [
|
|
|
1128
1190
|
|
|
1129
1191
|
[[package]]
|
|
1130
1192
|
name = "extfmt"
|
|
1131
|
-
version = "0.
|
|
1193
|
+
version = "0.2.0"
|
|
1132
1194
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1133
|
-
checksum = "
|
|
1195
|
+
checksum = "4a61bffc6f807b136c3efeeac295edde2c65b1e345de7ea777e75f63de7436c6"
|
|
1134
1196
|
|
|
1135
1197
|
[[package]]
|
|
1136
1198
|
name = "fast_image_resize"
|
|
@@ -1197,7 +1259,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
1197
1259
|
checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d"
|
|
1198
1260
|
dependencies = [
|
|
1199
1261
|
"crc32fast",
|
|
1200
|
-
"miniz_oxide",
|
|
1262
|
+
"miniz_oxide 0.8.9",
|
|
1201
1263
|
]
|
|
1202
1264
|
|
|
1203
1265
|
[[package]]
|
|
@@ -1387,19 +1449,13 @@ dependencies = [
|
|
|
1387
1449
|
"futures-core",
|
|
1388
1450
|
"futures-sink",
|
|
1389
1451
|
"http",
|
|
1390
|
-
"indexmap 2.
|
|
1452
|
+
"indexmap 2.13.0",
|
|
1391
1453
|
"slab",
|
|
1392
1454
|
"tokio",
|
|
1393
1455
|
"tokio-util",
|
|
1394
1456
|
"tracing",
|
|
1395
1457
|
]
|
|
1396
1458
|
|
|
1397
|
-
[[package]]
|
|
1398
|
-
name = "half"
|
|
1399
|
-
version = "1.8.3"
|
|
1400
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1401
|
-
checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403"
|
|
1402
|
-
|
|
1403
1459
|
[[package]]
|
|
1404
1460
|
name = "half"
|
|
1405
1461
|
version = "2.6.0"
|
|
@@ -1418,9 +1474,9 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
|
|
1418
1474
|
|
|
1419
1475
|
[[package]]
|
|
1420
1476
|
name = "hashbrown"
|
|
1421
|
-
version = "0.
|
|
1477
|
+
version = "0.16.1"
|
|
1422
1478
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1423
|
-
checksum = "
|
|
1479
|
+
checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
|
|
1424
1480
|
|
|
1425
1481
|
[[package]]
|
|
1426
1482
|
name = "heck"
|
|
@@ -1428,12 +1484,6 @@ version = "0.5.0"
|
|
|
1428
1484
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1429
1485
|
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
1430
1486
|
|
|
1431
|
-
[[package]]
|
|
1432
|
-
name = "hermit-abi"
|
|
1433
|
-
version = "0.5.2"
|
|
1434
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1435
|
-
checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
|
|
1436
|
-
|
|
1437
1487
|
[[package]]
|
|
1438
1488
|
name = "hex"
|
|
1439
1489
|
version = "0.4.3"
|
|
@@ -1510,12 +1560,6 @@ version = "1.10.1"
|
|
|
1510
1560
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1511
1561
|
checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
|
|
1512
1562
|
|
|
1513
|
-
[[package]]
|
|
1514
|
-
name = "humantime"
|
|
1515
|
-
version = "2.2.0"
|
|
1516
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1517
|
-
checksum = "9b112acc8b3adf4b107a8ec20977da0273a8c386765a3ec0229bd500a1443f9f"
|
|
1518
|
-
|
|
1519
1563
|
[[package]]
|
|
1520
1564
|
name = "hyper"
|
|
1521
1565
|
version = "1.6.0"
|
|
@@ -1691,9 +1735,9 @@ dependencies = [
|
|
|
1691
1735
|
|
|
1692
1736
|
[[package]]
|
|
1693
1737
|
name = "id3"
|
|
1694
|
-
version = "1.16.
|
|
1738
|
+
version = "1.16.4"
|
|
1695
1739
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1696
|
-
checksum = "
|
|
1740
|
+
checksum = "965c5e6a62a241f2f673df956ea5f52c27780bc1031855890a551ed9b869e2d1"
|
|
1697
1741
|
dependencies = [
|
|
1698
1742
|
"bitflags 2.9.1",
|
|
1699
1743
|
"byteorder",
|
|
@@ -1762,13 +1806,13 @@ dependencies = [
|
|
|
1762
1806
|
|
|
1763
1807
|
[[package]]
|
|
1764
1808
|
name = "img-parts"
|
|
1765
|
-
version = "0.
|
|
1809
|
+
version = "0.4.0"
|
|
1766
1810
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1767
|
-
checksum = "
|
|
1811
|
+
checksum = "19734e3c43b2a850f5889c077056e47c874095f2d87e853c7c41214ae67375f0"
|
|
1768
1812
|
dependencies = [
|
|
1769
1813
|
"bytes",
|
|
1770
1814
|
"crc32fast",
|
|
1771
|
-
"miniz_oxide",
|
|
1815
|
+
"miniz_oxide 0.8.9",
|
|
1772
1816
|
]
|
|
1773
1817
|
|
|
1774
1818
|
[[package]]
|
|
@@ -1790,13 +1834,14 @@ dependencies = [
|
|
|
1790
1834
|
|
|
1791
1835
|
[[package]]
|
|
1792
1836
|
name = "indexmap"
|
|
1793
|
-
version = "2.
|
|
1837
|
+
version = "2.13.0"
|
|
1794
1838
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1795
|
-
checksum = "
|
|
1839
|
+
checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017"
|
|
1796
1840
|
dependencies = [
|
|
1797
1841
|
"equivalent",
|
|
1798
|
-
"hashbrown 0.
|
|
1842
|
+
"hashbrown 0.16.1",
|
|
1799
1843
|
"serde",
|
|
1844
|
+
"serde_core",
|
|
1800
1845
|
]
|
|
1801
1846
|
|
|
1802
1847
|
[[package]]
|
|
@@ -1876,15 +1921,10 @@ dependencies = [
|
|
|
1876
1921
|
]
|
|
1877
1922
|
|
|
1878
1923
|
[[package]]
|
|
1879
|
-
name = "
|
|
1880
|
-
version = "
|
|
1924
|
+
name = "is_terminal_polyfill"
|
|
1925
|
+
version = "1.70.2"
|
|
1881
1926
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1882
|
-
checksum = "
|
|
1883
|
-
dependencies = [
|
|
1884
|
-
"hermit-abi",
|
|
1885
|
-
"libc",
|
|
1886
|
-
"windows-sys 0.59.0",
|
|
1887
|
-
]
|
|
1927
|
+
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
|
|
1888
1928
|
|
|
1889
1929
|
[[package]]
|
|
1890
1930
|
name = "itertools"
|
|
@@ -1975,9 +2015,9 @@ checksum = "00810f1d8b74be64b13dbf3db89ac67740615d6c891f0e7b6179326533011a07"
|
|
|
1975
2015
|
|
|
1976
2016
|
[[package]]
|
|
1977
2017
|
name = "js-sys"
|
|
1978
|
-
version = "0.3.
|
|
2018
|
+
version = "0.3.91"
|
|
1979
2019
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1980
|
-
checksum = "
|
|
2020
|
+
checksum = "b49715b7073f385ba4bc528e5747d02e66cb39c6146efb66b781f131f0fb399c"
|
|
1981
2021
|
dependencies = [
|
|
1982
2022
|
"once_cell",
|
|
1983
2023
|
"wasm-bindgen",
|
|
@@ -2096,9 +2136,9 @@ dependencies = [
|
|
|
2096
2136
|
|
|
2097
2137
|
[[package]]
|
|
2098
2138
|
name = "lopdf"
|
|
2099
|
-
version = "0.
|
|
2139
|
+
version = "0.39.0"
|
|
2100
2140
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2101
|
-
checksum = "
|
|
2141
|
+
checksum = "f560f57dfb9142a02d673e137622fd515d4231e51feb8b4af28d92647d83f35b"
|
|
2102
2142
|
dependencies = [
|
|
2103
2143
|
"aes",
|
|
2104
2144
|
"bitflags 2.9.1",
|
|
@@ -2108,7 +2148,7 @@ dependencies = [
|
|
|
2108
2148
|
"encoding_rs",
|
|
2109
2149
|
"flate2",
|
|
2110
2150
|
"getrandom 0.3.4",
|
|
2111
|
-
"indexmap 2.
|
|
2151
|
+
"indexmap 2.13.0",
|
|
2112
2152
|
"itoa",
|
|
2113
2153
|
"jiff",
|
|
2114
2154
|
"log",
|
|
@@ -2184,6 +2224,16 @@ dependencies = [
|
|
|
2184
2224
|
"simd-adler32",
|
|
2185
2225
|
]
|
|
2186
2226
|
|
|
2227
|
+
[[package]]
|
|
2228
|
+
name = "miniz_oxide"
|
|
2229
|
+
version = "0.9.0"
|
|
2230
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2231
|
+
checksum = "5faa9f23e86bd5768d76def086192ff5f869fb088da12a976ea21e9796b975f6"
|
|
2232
|
+
dependencies = [
|
|
2233
|
+
"adler2",
|
|
2234
|
+
"simd-adler32",
|
|
2235
|
+
]
|
|
2236
|
+
|
|
2187
2237
|
[[package]]
|
|
2188
2238
|
name = "mio"
|
|
2189
2239
|
version = "1.0.4"
|
|
@@ -2302,9 +2352,9 @@ dependencies = [
|
|
|
2302
2352
|
|
|
2303
2353
|
[[package]]
|
|
2304
2354
|
name = "non-empty-string"
|
|
2305
|
-
version = "0.2.
|
|
2355
|
+
version = "0.2.6"
|
|
2306
2356
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2307
|
-
checksum = "
|
|
2357
|
+
checksum = "260010741d90def3ca7c4b5ec0bbe28c26d0c775d3c7d291b38642514136677a"
|
|
2308
2358
|
dependencies = [
|
|
2309
2359
|
"delegate",
|
|
2310
2360
|
"serde",
|
|
@@ -2312,9 +2362,9 @@ dependencies = [
|
|
|
2312
2362
|
|
|
2313
2363
|
[[package]]
|
|
2314
2364
|
name = "nonempty-collections"
|
|
2315
|
-
version = "
|
|
2365
|
+
version = "1.3.0"
|
|
2316
2366
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2317
|
-
checksum = "
|
|
2367
|
+
checksum = "3d127e00b37b19c36c28ac00e874240a61faeea14c7b759b1d9c77efa048322a"
|
|
2318
2368
|
dependencies = [
|
|
2319
2369
|
"serde",
|
|
2320
2370
|
]
|
|
@@ -2444,9 +2494,9 @@ dependencies = [
|
|
|
2444
2494
|
|
|
2445
2495
|
[[package]]
|
|
2446
2496
|
name = "oid-registry"
|
|
2447
|
-
version = "0.
|
|
2497
|
+
version = "0.8.1"
|
|
2448
2498
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2449
|
-
checksum = "
|
|
2499
|
+
checksum = "12f40cff3dde1b6087cc5d5f5d4d65712f34016a03ed60e9c08dcc392736b5b7"
|
|
2450
2500
|
dependencies = [
|
|
2451
2501
|
"asn1-rs",
|
|
2452
2502
|
]
|
|
@@ -2457,13 +2507,19 @@ version = "1.21.3"
|
|
|
2457
2507
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2458
2508
|
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
2459
2509
|
|
|
2510
|
+
[[package]]
|
|
2511
|
+
name = "once_cell_polyfill"
|
|
2512
|
+
version = "1.70.2"
|
|
2513
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2514
|
+
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
|
|
2515
|
+
|
|
2460
2516
|
[[package]]
|
|
2461
2517
|
name = "ort"
|
|
2462
2518
|
version = "2.0.0-rc.8"
|
|
2463
2519
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2464
2520
|
checksum = "11826e6118cc42fea0cb2b102f7d006c1bb339cb167f8badb5fb568616438234"
|
|
2465
2521
|
dependencies = [
|
|
2466
|
-
"half
|
|
2522
|
+
"half",
|
|
2467
2523
|
"ndarray",
|
|
2468
2524
|
"ort-sys",
|
|
2469
2525
|
"tracing",
|
|
@@ -2590,9 +2646,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|
|
2590
2646
|
|
|
2591
2647
|
[[package]]
|
|
2592
2648
|
name = "pix"
|
|
2593
|
-
version = "0.
|
|
2649
|
+
version = "0.14.0"
|
|
2594
2650
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2595
|
-
checksum = "
|
|
2651
|
+
checksum = "1a054a84d1ff0dc456386e5fc081e099e6855ddcc8913dc9349c294d47d76bd4"
|
|
2596
2652
|
|
|
2597
2653
|
[[package]]
|
|
2598
2654
|
name = "pkcs1"
|
|
@@ -2631,16 +2687,16 @@ dependencies = [
|
|
|
2631
2687
|
"crc32fast",
|
|
2632
2688
|
"fdeflate",
|
|
2633
2689
|
"flate2",
|
|
2634
|
-
"miniz_oxide",
|
|
2690
|
+
"miniz_oxide 0.8.9",
|
|
2635
2691
|
]
|
|
2636
2692
|
|
|
2637
2693
|
[[package]]
|
|
2638
2694
|
name = "png_pong"
|
|
2639
|
-
version = "0.
|
|
2695
|
+
version = "0.10.0"
|
|
2640
2696
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2641
|
-
checksum = "
|
|
2697
|
+
checksum = "cb58df2a992d49a178fd69f8c9ead5d4c70014652cd4cca9608a1cb46097aff6"
|
|
2642
2698
|
dependencies = [
|
|
2643
|
-
"miniz_oxide",
|
|
2699
|
+
"miniz_oxide 0.9.0",
|
|
2644
2700
|
"parsenic",
|
|
2645
2701
|
"pix",
|
|
2646
2702
|
"simd-adler32",
|
|
@@ -2780,9 +2836,9 @@ checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3"
|
|
|
2780
2836
|
|
|
2781
2837
|
[[package]]
|
|
2782
2838
|
name = "quick-xml"
|
|
2783
|
-
version = "0.
|
|
2839
|
+
version = "0.39.0"
|
|
2784
2840
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2785
|
-
checksum = "
|
|
2841
|
+
checksum = "f2e3bf4aa9d243beeb01a7b3bc30b77cfe2c44e24ec02d751a7104a53c2c49a1"
|
|
2786
2842
|
dependencies = [
|
|
2787
2843
|
"memchr",
|
|
2788
2844
|
]
|
|
@@ -2933,9 +2989,9 @@ dependencies = [
|
|
|
2933
2989
|
|
|
2934
2990
|
[[package]]
|
|
2935
2991
|
name = "range-set"
|
|
2936
|
-
version = "0.0
|
|
2992
|
+
version = "0.1.0"
|
|
2937
2993
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2938
|
-
checksum = "
|
|
2994
|
+
checksum = "2d49e572143755710377fda7cbd3f46e8523b912339759636ab2770abb16c4c3"
|
|
2939
2995
|
dependencies = [
|
|
2940
2996
|
"num-traits",
|
|
2941
2997
|
"smallvec",
|
|
@@ -2955,13 +3011,14 @@ checksum = "973443cf09a9c8656b574a866ab68dfa19f0867d0340648c7d2f6a71b8a8ea68"
|
|
|
2955
3011
|
|
|
2956
3012
|
[[package]]
|
|
2957
3013
|
name = "rasn"
|
|
2958
|
-
version = "0.
|
|
3014
|
+
version = "0.28.6"
|
|
2959
3015
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2960
|
-
checksum = "
|
|
3016
|
+
checksum = "f6826672fcb973bda1fbc24f26c44f310d5a3a94e2203c65b431a7129c98d045"
|
|
2961
3017
|
dependencies = [
|
|
2962
3018
|
"bitvec",
|
|
2963
3019
|
"bitvec-nom2",
|
|
2964
3020
|
"bytes",
|
|
3021
|
+
"cfg-if",
|
|
2965
3022
|
"chrono",
|
|
2966
3023
|
"either",
|
|
2967
3024
|
"nom 7.1.3",
|
|
@@ -2977,9 +3034,9 @@ dependencies = [
|
|
|
2977
3034
|
|
|
2978
3035
|
[[package]]
|
|
2979
3036
|
name = "rasn-cms"
|
|
2980
|
-
version = "0.
|
|
3037
|
+
version = "0.28.6"
|
|
2981
3038
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2982
|
-
checksum = "
|
|
3039
|
+
checksum = "63663a1b4e04736a7d30b382afcb850e04252a0fdfc27df64355ed7bb89979b6"
|
|
2983
3040
|
dependencies = [
|
|
2984
3041
|
"rasn",
|
|
2985
3042
|
"rasn-pkix",
|
|
@@ -2987,9 +3044,9 @@ dependencies = [
|
|
|
2987
3044
|
|
|
2988
3045
|
[[package]]
|
|
2989
3046
|
name = "rasn-derive"
|
|
2990
|
-
version = "0.
|
|
3047
|
+
version = "0.28.6"
|
|
2991
3048
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2992
|
-
checksum = "
|
|
3049
|
+
checksum = "fb0bd5a6f3cca9813e59b84dcddd9fa801fb8f8fb2ac00b4dcfa3d2fcf551549"
|
|
2993
3050
|
dependencies = [
|
|
2994
3051
|
"proc-macro2",
|
|
2995
3052
|
"rasn-derive-impl",
|
|
@@ -2998,9 +3055,9 @@ dependencies = [
|
|
|
2998
3055
|
|
|
2999
3056
|
[[package]]
|
|
3000
3057
|
name = "rasn-derive-impl"
|
|
3001
|
-
version = "0.
|
|
3058
|
+
version = "0.28.6"
|
|
3002
3059
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3003
|
-
checksum = "
|
|
3060
|
+
checksum = "3d556b967fead7bbcd6b95a70a688c9edd46a4b2868409aaa49295c6583a27af"
|
|
3004
3061
|
dependencies = [
|
|
3005
3062
|
"either",
|
|
3006
3063
|
"itertools 0.13.0",
|
|
@@ -3012,9 +3069,9 @@ dependencies = [
|
|
|
3012
3069
|
|
|
3013
3070
|
[[package]]
|
|
3014
3071
|
name = "rasn-ocsp"
|
|
3015
|
-
version = "0.
|
|
3072
|
+
version = "0.28.6"
|
|
3016
3073
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3017
|
-
checksum = "
|
|
3074
|
+
checksum = "bfec303ac3a04490191e4cd032eb33eb0a04e5b6ce1ce9f63d537b4d142e9365"
|
|
3018
3075
|
dependencies = [
|
|
3019
3076
|
"rasn",
|
|
3020
3077
|
"rasn-pkix",
|
|
@@ -3022,9 +3079,9 @@ dependencies = [
|
|
|
3022
3079
|
|
|
3023
3080
|
[[package]]
|
|
3024
3081
|
name = "rasn-pkix"
|
|
3025
|
-
version = "0.
|
|
3082
|
+
version = "0.28.6"
|
|
3026
3083
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3027
|
-
checksum = "
|
|
3084
|
+
checksum = "5ad9d81988559e392ac2feab9b4a8731eff8e6176e8339ae930a949ae265a1d0"
|
|
3028
3085
|
dependencies = [
|
|
3029
3086
|
"rasn",
|
|
3030
3087
|
]
|
|
@@ -3452,16 +3509,6 @@ dependencies = [
|
|
|
3452
3509
|
"serde",
|
|
3453
3510
|
]
|
|
3454
3511
|
|
|
3455
|
-
[[package]]
|
|
3456
|
-
name = "serde_cbor"
|
|
3457
|
-
version = "0.11.2"
|
|
3458
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3459
|
-
checksum = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5"
|
|
3460
|
-
dependencies = [
|
|
3461
|
-
"half 1.8.3",
|
|
3462
|
-
"serde",
|
|
3463
|
-
]
|
|
3464
|
-
|
|
3465
3512
|
[[package]]
|
|
3466
3513
|
name = "serde_core"
|
|
3467
3514
|
version = "1.0.228"
|
|
@@ -3488,7 +3535,7 @@ version = "1.0.145"
|
|
|
3488
3535
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3489
3536
|
checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c"
|
|
3490
3537
|
dependencies = [
|
|
3491
|
-
"indexmap 2.
|
|
3538
|
+
"indexmap 2.13.0",
|
|
3492
3539
|
"itoa",
|
|
3493
3540
|
"memchr",
|
|
3494
3541
|
"ryu",
|
|
@@ -3505,6 +3552,15 @@ dependencies = [
|
|
|
3505
3552
|
"serde",
|
|
3506
3553
|
]
|
|
3507
3554
|
|
|
3555
|
+
[[package]]
|
|
3556
|
+
name = "serde_spanned"
|
|
3557
|
+
version = "1.0.4"
|
|
3558
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3559
|
+
checksum = "f8bbf91e5a4d6315eee45e704372590b30e260ee83af6639d64557f51b067776"
|
|
3560
|
+
dependencies = [
|
|
3561
|
+
"serde_core",
|
|
3562
|
+
]
|
|
3563
|
+
|
|
3508
3564
|
[[package]]
|
|
3509
3565
|
name = "serde_urlencoded"
|
|
3510
3566
|
version = "0.7.1"
|
|
@@ -3527,7 +3583,7 @@ dependencies = [
|
|
|
3527
3583
|
"chrono",
|
|
3528
3584
|
"hex",
|
|
3529
3585
|
"indexmap 1.9.3",
|
|
3530
|
-
"indexmap 2.
|
|
3586
|
+
"indexmap 2.13.0",
|
|
3531
3587
|
"schemars 0.9.0",
|
|
3532
3588
|
"schemars 1.0.4",
|
|
3533
3589
|
"serde_core",
|
|
@@ -3823,7 +3879,7 @@ dependencies = [
|
|
|
3823
3879
|
"cfg-expr",
|
|
3824
3880
|
"heck",
|
|
3825
3881
|
"pkg-config",
|
|
3826
|
-
"toml",
|
|
3882
|
+
"toml 0.8.23",
|
|
3827
3883
|
"version-compare",
|
|
3828
3884
|
]
|
|
3829
3885
|
|
|
@@ -3863,15 +3919,6 @@ dependencies = [
|
|
|
3863
3919
|
"windows-sys 0.60.2",
|
|
3864
3920
|
]
|
|
3865
3921
|
|
|
3866
|
-
[[package]]
|
|
3867
|
-
name = "termcolor"
|
|
3868
|
-
version = "1.4.1"
|
|
3869
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3870
|
-
checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
|
|
3871
|
-
dependencies = [
|
|
3872
|
-
"winapi-util",
|
|
3873
|
-
]
|
|
3874
|
-
|
|
3875
3922
|
[[package]]
|
|
3876
3923
|
name = "thiserror"
|
|
3877
3924
|
version = "1.0.69"
|
|
@@ -4026,11 +4073,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
4026
4073
|
checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362"
|
|
4027
4074
|
dependencies = [
|
|
4028
4075
|
"serde",
|
|
4029
|
-
"serde_spanned",
|
|
4030
|
-
"toml_datetime",
|
|
4076
|
+
"serde_spanned 0.6.9",
|
|
4077
|
+
"toml_datetime 0.6.11",
|
|
4031
4078
|
"toml_edit",
|
|
4032
4079
|
]
|
|
4033
4080
|
|
|
4081
|
+
[[package]]
|
|
4082
|
+
name = "toml"
|
|
4083
|
+
version = "1.0.4+spec-1.1.0"
|
|
4084
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4085
|
+
checksum = "c94c3321114413476740df133f0d8862c61d87c8d26f04c6841e033c8c80db47"
|
|
4086
|
+
dependencies = [
|
|
4087
|
+
"indexmap 2.13.0",
|
|
4088
|
+
"serde_core",
|
|
4089
|
+
"serde_spanned 1.0.4",
|
|
4090
|
+
"toml_datetime 1.0.0+spec-1.1.0",
|
|
4091
|
+
"toml_parser",
|
|
4092
|
+
"toml_writer",
|
|
4093
|
+
"winnow",
|
|
4094
|
+
]
|
|
4095
|
+
|
|
4034
4096
|
[[package]]
|
|
4035
4097
|
name = "toml_datetime"
|
|
4036
4098
|
version = "0.6.11"
|
|
@@ -4040,26 +4102,50 @@ dependencies = [
|
|
|
4040
4102
|
"serde",
|
|
4041
4103
|
]
|
|
4042
4104
|
|
|
4105
|
+
[[package]]
|
|
4106
|
+
name = "toml_datetime"
|
|
4107
|
+
version = "1.0.0+spec-1.1.0"
|
|
4108
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4109
|
+
checksum = "32c2555c699578a4f59f0cc68e5116c8d7cabbd45e1409b989d4be085b53f13e"
|
|
4110
|
+
dependencies = [
|
|
4111
|
+
"serde_core",
|
|
4112
|
+
]
|
|
4113
|
+
|
|
4043
4114
|
[[package]]
|
|
4044
4115
|
name = "toml_edit"
|
|
4045
4116
|
version = "0.22.27"
|
|
4046
4117
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4047
4118
|
checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a"
|
|
4048
4119
|
dependencies = [
|
|
4049
|
-
"indexmap 2.
|
|
4120
|
+
"indexmap 2.13.0",
|
|
4050
4121
|
"serde",
|
|
4051
|
-
"serde_spanned",
|
|
4052
|
-
"toml_datetime",
|
|
4122
|
+
"serde_spanned 0.6.9",
|
|
4123
|
+
"toml_datetime 0.6.11",
|
|
4053
4124
|
"toml_write",
|
|
4054
4125
|
"winnow",
|
|
4055
4126
|
]
|
|
4056
4127
|
|
|
4128
|
+
[[package]]
|
|
4129
|
+
name = "toml_parser"
|
|
4130
|
+
version = "1.0.9+spec-1.1.0"
|
|
4131
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4132
|
+
checksum = "702d4415e08923e7e1ef96cd5727c0dfed80b4d2fa25db9647fe5eb6f7c5a4c4"
|
|
4133
|
+
dependencies = [
|
|
4134
|
+
"winnow",
|
|
4135
|
+
]
|
|
4136
|
+
|
|
4057
4137
|
[[package]]
|
|
4058
4138
|
name = "toml_write"
|
|
4059
4139
|
version = "0.1.2"
|
|
4060
4140
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4061
4141
|
checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801"
|
|
4062
4142
|
|
|
4143
|
+
[[package]]
|
|
4144
|
+
name = "toml_writer"
|
|
4145
|
+
version = "1.0.6+spec-1.1.0"
|
|
4146
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4147
|
+
checksum = "ab16f14aed21ee8bfd8ec22513f7287cd4a91aa92e44edfe2c17ddd004e92607"
|
|
4148
|
+
|
|
4063
4149
|
[[package]]
|
|
4064
4150
|
name = "tower"
|
|
4065
4151
|
version = "0.5.2"
|
|
@@ -4161,6 +4247,12 @@ version = "0.25.1"
|
|
|
4161
4247
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4162
4248
|
checksum = "d2df906b07856748fa3f6e0ad0cbaa047052d4a7dd609e231c4f72cee8c36f31"
|
|
4163
4249
|
|
|
4250
|
+
[[package]]
|
|
4251
|
+
name = "typed-path"
|
|
4252
|
+
version = "0.12.0"
|
|
4253
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4254
|
+
checksum = "7922f2cdc51280d47b491af9eafc41eb0cdab85eabcb390c854412fcbf26dbe8"
|
|
4255
|
+
|
|
4164
4256
|
[[package]]
|
|
4165
4257
|
name = "typenum"
|
|
4166
4258
|
version = "1.18.0"
|
|
@@ -4280,6 +4372,12 @@ version = "1.0.4"
|
|
|
4280
4372
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4281
4373
|
checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
|
|
4282
4374
|
|
|
4375
|
+
[[package]]
|
|
4376
|
+
name = "utf8parse"
|
|
4377
|
+
version = "0.2.2"
|
|
4378
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4379
|
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
4380
|
+
|
|
4283
4381
|
[[package]]
|
|
4284
4382
|
name = "uuid"
|
|
4285
4383
|
version = "1.18.1"
|
|
@@ -4350,9 +4448,9 @@ dependencies = [
|
|
|
4350
4448
|
|
|
4351
4449
|
[[package]]
|
|
4352
4450
|
name = "wasm-bindgen"
|
|
4353
|
-
version = "0.2.
|
|
4451
|
+
version = "0.2.114"
|
|
4354
4452
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4355
|
-
checksum = "
|
|
4453
|
+
checksum = "6532f9a5c1ece3798cb1c2cfdba640b9b3ba884f5db45973a6f442510a87d38e"
|
|
4356
4454
|
dependencies = [
|
|
4357
4455
|
"cfg-if",
|
|
4358
4456
|
"once_cell",
|
|
@@ -4363,11 +4461,12 @@ dependencies = [
|
|
|
4363
4461
|
|
|
4364
4462
|
[[package]]
|
|
4365
4463
|
name = "wasm-bindgen-futures"
|
|
4366
|
-
version = "0.4.
|
|
4464
|
+
version = "0.4.64"
|
|
4367
4465
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4368
|
-
checksum = "
|
|
4466
|
+
checksum = "e9c5522b3a28661442748e09d40924dfb9ca614b21c00d3fd135720e48b67db8"
|
|
4369
4467
|
dependencies = [
|
|
4370
4468
|
"cfg-if",
|
|
4469
|
+
"futures-util",
|
|
4371
4470
|
"js-sys",
|
|
4372
4471
|
"once_cell",
|
|
4373
4472
|
"wasm-bindgen",
|
|
@@ -4376,9 +4475,9 @@ dependencies = [
|
|
|
4376
4475
|
|
|
4377
4476
|
[[package]]
|
|
4378
4477
|
name = "wasm-bindgen-macro"
|
|
4379
|
-
version = "0.2.
|
|
4478
|
+
version = "0.2.114"
|
|
4380
4479
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4381
|
-
checksum = "
|
|
4480
|
+
checksum = "18a2d50fcf105fb33bb15f00e7a77b772945a2ee45dcf454961fd843e74c18e6"
|
|
4382
4481
|
dependencies = [
|
|
4383
4482
|
"quote",
|
|
4384
4483
|
"wasm-bindgen-macro-support",
|
|
@@ -4386,9 +4485,9 @@ dependencies = [
|
|
|
4386
4485
|
|
|
4387
4486
|
[[package]]
|
|
4388
4487
|
name = "wasm-bindgen-macro-support"
|
|
4389
|
-
version = "0.2.
|
|
4488
|
+
version = "0.2.114"
|
|
4390
4489
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4391
|
-
checksum = "
|
|
4490
|
+
checksum = "03ce4caeaac547cdf713d280eda22a730824dd11e6b8c3ca9e42247b25c631e3"
|
|
4392
4491
|
dependencies = [
|
|
4393
4492
|
"bumpalo",
|
|
4394
4493
|
"proc-macro2",
|
|
@@ -4399,18 +4498,18 @@ dependencies = [
|
|
|
4399
4498
|
|
|
4400
4499
|
[[package]]
|
|
4401
4500
|
name = "wasm-bindgen-shared"
|
|
4402
|
-
version = "0.2.
|
|
4501
|
+
version = "0.2.114"
|
|
4403
4502
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4404
|
-
checksum = "
|
|
4503
|
+
checksum = "75a326b8c223ee17883a4251907455a2431acc2791c98c26279376490c378c16"
|
|
4405
4504
|
dependencies = [
|
|
4406
4505
|
"unicode-ident",
|
|
4407
4506
|
]
|
|
4408
4507
|
|
|
4409
4508
|
[[package]]
|
|
4410
4509
|
name = "web-sys"
|
|
4411
|
-
version = "0.3.
|
|
4510
|
+
version = "0.3.91"
|
|
4412
4511
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4413
|
-
checksum = "
|
|
4512
|
+
checksum = "854ba17bb104abfb26ba36da9729addc7ce7f06f5c0f90f3c391f8461cca21f9"
|
|
4414
4513
|
dependencies = [
|
|
4415
4514
|
"js-sys",
|
|
4416
4515
|
"wasm-bindgen",
|
|
@@ -4466,15 +4565,6 @@ version = "0.4.0"
|
|
|
4466
4565
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4467
4566
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
|
4468
4567
|
|
|
4469
|
-
[[package]]
|
|
4470
|
-
name = "winapi-util"
|
|
4471
|
-
version = "0.1.9"
|
|
4472
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4473
|
-
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
|
|
4474
|
-
dependencies = [
|
|
4475
|
-
"windows-sys 0.59.0",
|
|
4476
|
-
]
|
|
4477
|
-
|
|
4478
4568
|
[[package]]
|
|
4479
4569
|
name = "winapi-x86_64-pc-windows-gnu"
|
|
4480
4570
|
version = "0.4.0"
|
|
@@ -4714,9 +4804,9 @@ checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
|
|
|
4714
4804
|
|
|
4715
4805
|
[[package]]
|
|
4716
4806
|
name = "winnow"
|
|
4717
|
-
version = "0.7.
|
|
4807
|
+
version = "0.7.14"
|
|
4718
4808
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4719
|
-
checksum = "
|
|
4809
|
+
checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829"
|
|
4720
4810
|
dependencies = [
|
|
4721
4811
|
"memchr",
|
|
4722
4812
|
]
|
|
@@ -4774,9 +4864,9 @@ dependencies = [
|
|
|
4774
4864
|
|
|
4775
4865
|
[[package]]
|
|
4776
4866
|
name = "x509-parser"
|
|
4777
|
-
version = "0.
|
|
4867
|
+
version = "0.18.0"
|
|
4778
4868
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4779
|
-
checksum = "
|
|
4869
|
+
checksum = "eb3e137310115a65136898d2079f003ce33331a6c4b0d51f1531d1be082b6425"
|
|
4780
4870
|
dependencies = [
|
|
4781
4871
|
"asn1-rs",
|
|
4782
4872
|
"data-encoding",
|
|
@@ -4785,7 +4875,7 @@ dependencies = [
|
|
|
4785
4875
|
"nom 7.1.3",
|
|
4786
4876
|
"oid-registry",
|
|
4787
4877
|
"rusticata-macros",
|
|
4788
|
-
"thiserror
|
|
4878
|
+
"thiserror 2.0.17",
|
|
4789
4879
|
"time",
|
|
4790
4880
|
]
|
|
4791
4881
|
|
|
@@ -4925,14 +5015,14 @@ dependencies = [
|
|
|
4925
5015
|
|
|
4926
5016
|
[[package]]
|
|
4927
5017
|
name = "zip"
|
|
4928
|
-
version = "
|
|
5018
|
+
version = "8.2.0"
|
|
4929
5019
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4930
|
-
checksum = "
|
|
5020
|
+
checksum = "b680f2a0cd479b4cff6e1233c483fdead418106eae419dc60200ae9850f6d004"
|
|
4931
5021
|
dependencies = [
|
|
4932
|
-
"arbitrary",
|
|
4933
5022
|
"crc32fast",
|
|
4934
|
-
"indexmap 2.
|
|
5023
|
+
"indexmap 2.13.0",
|
|
4935
5024
|
"memchr",
|
|
5025
|
+
"typed-path",
|
|
4936
5026
|
]
|
|
4937
5027
|
|
|
4938
5028
|
[[package]]
|
package/Cargo.toml
CHANGED
|
@@ -11,7 +11,7 @@ crate-type = ["cdylib"]
|
|
|
11
11
|
[dependencies]
|
|
12
12
|
async-trait = "0.1.77"
|
|
13
13
|
ciborium = "0.2.2"
|
|
14
|
-
c2pa = { version = "0.
|
|
14
|
+
c2pa = { version = "0.77.0", default-features = false, features = ["file_io", "pdf", "fetch_remote_manifests", "add_thumbnails", "rust_native_crypto", "default_http"] }
|
|
15
15
|
futures = "0.3"
|
|
16
16
|
image = "0.25.6"
|
|
17
17
|
neon = { version = "1.0.0", default-features = false, features = [
|
package/README.md
CHANGED
|
@@ -116,6 +116,165 @@ await builder.addResource('resource://example', resourceAsset);
|
|
|
116
116
|
const manifest = builder.sign(signer, inputAsset, outputAsset);
|
|
117
117
|
```
|
|
118
118
|
|
|
119
|
+
#### Setting Builder Intent
|
|
120
|
+
|
|
121
|
+
The builder intent describes the type of operation being performed on the asset. This influences how the manifest is structured and what assertions are automatically added.
|
|
122
|
+
|
|
123
|
+
`create`: This is a new digital creation, a DigitalSourceType is required. The Manifest must not have a parent ingredient. A `c2pa.created` action will be added if not provided.
|
|
124
|
+
|
|
125
|
+
`edit`: This is an edit of a pre-existing parent asset. The Manifest must have a parent ingredient. A parent ingredient will be generated from the source stream if not otherwise provided. A `c2pa.opened` action will be tied to the parent ingredient.
|
|
126
|
+
|
|
127
|
+
`update`: A restricted version of Edit for non-editorial changes. There must be only one ingredient, as a parent. No changes can be made to the hashed content of the parent. There are additional restrictions on the types of changes that can be made.
|
|
128
|
+
|
|
129
|
+
```javascript
|
|
130
|
+
const builder = Builder.new();
|
|
131
|
+
|
|
132
|
+
builder.setIntent({
|
|
133
|
+
create: 'http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia',
|
|
134
|
+
});
|
|
135
|
+
|
|
136
|
+
builder.setIntent('edit');
|
|
137
|
+
|
|
138
|
+
builder.setIntent('update');
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
The `create` intent accepts a `DigitalSourceType` that describes the origin of the asset. Common values include:
|
|
142
|
+
|
|
143
|
+
- `'http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia'` - AI-generated content
|
|
144
|
+
- `'http://cv.iptc.org/newscodes/digitalsourcetype/digitalCapture'` - Digital camera capture
|
|
145
|
+
- `'http://cv.iptc.org/newscodes/digitalsourcetype/composite'` - Composite of multiple sources
|
|
146
|
+
|
|
147
|
+
For a complete list of digital source types, see the [C2PA specification](https://c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html#_digital_source_type) and [IPTC digital source type vocabulary](https://cv.iptc.org/newscodes/digitalsourcetype).
|
|
148
|
+
|
|
149
|
+
For more details on builder intents, see the [c2pa-rs Builder documentation](https://docs.rs/c2pa/latest/c2pa/struct.Builder.html).
|
|
150
|
+
|
|
151
|
+
#### Adding Ingredients from Assets
|
|
152
|
+
|
|
153
|
+
When you have access to the ingredient asset, use `addIngredient` with an asset to include both the metadata and the asset data:
|
|
154
|
+
|
|
155
|
+
```javascript
|
|
156
|
+
import * as fs from "node:fs/promises";
|
|
157
|
+
|
|
158
|
+
// Load the ingredient asset
|
|
159
|
+
const ingredientBuffer = await fs.readFile('path/to/source-image.jpg');
|
|
160
|
+
|
|
161
|
+
// Create a builder
|
|
162
|
+
const builder = Builder.new();
|
|
163
|
+
|
|
164
|
+
// Add the ingredient with its asset
|
|
165
|
+
await builder.addIngredient(
|
|
166
|
+
JSON.stringify({
|
|
167
|
+
title: 'source-image.jpg',
|
|
168
|
+
format: 'image/jpeg',
|
|
169
|
+
instance_id: 'ingredient-123',
|
|
170
|
+
relationship: 'parentOf',
|
|
171
|
+
}),
|
|
172
|
+
{
|
|
173
|
+
buffer: ingredientBuffer,
|
|
174
|
+
mimeType: 'image/jpeg',
|
|
175
|
+
}
|
|
176
|
+
);
|
|
177
|
+
|
|
178
|
+
const definition = builder.getManifestDefinition();
|
|
179
|
+
console.log(definition.ingredients); // Contains the ingredient with embedded data
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
#### Adding Multiple Ingredients
|
|
183
|
+
|
|
184
|
+
You can add multiple ingredients to document complex provenance chains:
|
|
185
|
+
|
|
186
|
+
```javascript
|
|
187
|
+
const builder = Builder.new();
|
|
188
|
+
|
|
189
|
+
// Load ingredient assets
|
|
190
|
+
const background = await fs.promises.readFile('background.jpg');
|
|
191
|
+
const overlay = await fs.promises.readFile('overlay.png');
|
|
192
|
+
|
|
193
|
+
// Add first ingredient
|
|
194
|
+
await builder.addIngredient(
|
|
195
|
+
JSON.stringify({
|
|
196
|
+
title: 'background.jpg',
|
|
197
|
+
format: 'image/jpeg',
|
|
198
|
+
instance_id: 'background-001',
|
|
199
|
+
relationship: 'componentOf',
|
|
200
|
+
}),
|
|
201
|
+
{
|
|
202
|
+
buffer: background,
|
|
203
|
+
mimeType: 'image/jpeg',
|
|
204
|
+
}
|
|
205
|
+
);
|
|
206
|
+
|
|
207
|
+
// Add second ingredient
|
|
208
|
+
await builder.addIngredient(
|
|
209
|
+
JSON.stringify({
|
|
210
|
+
title: 'overlay.png',
|
|
211
|
+
format: 'image/png',
|
|
212
|
+
instance_id: 'overlay-002',
|
|
213
|
+
relationship: 'componentOf',
|
|
214
|
+
}),
|
|
215
|
+
{
|
|
216
|
+
buffer: overlay,
|
|
217
|
+
mimeType: 'image/png',
|
|
218
|
+
}
|
|
219
|
+
);
|
|
220
|
+
|
|
221
|
+
const definition = builder.getManifestDefinition();
|
|
222
|
+
console.log(definition.ingredients.length); // 2
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
#### Adding Ingredients from Readers
|
|
226
|
+
|
|
227
|
+
You can also add ingredients directly from a `Reader` object, which automatically includes the C2PA data:
|
|
228
|
+
|
|
229
|
+
```javascript
|
|
230
|
+
// Read an existing C2PA asset
|
|
231
|
+
const sourceReader = await Reader.fromAsset({
|
|
232
|
+
path: 'source-image.jpg',
|
|
233
|
+
});
|
|
234
|
+
|
|
235
|
+
// Create a builder
|
|
236
|
+
const builder = Builder.new();
|
|
237
|
+
|
|
238
|
+
// Add ingredient from reader
|
|
239
|
+
const ingredient = builder.addIngredientFromReader(sourceReader);
|
|
240
|
+
|
|
241
|
+
console.log(ingredient.title); // Contains ingredient metadata
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
#### Creating and Reusing Builder Archives
|
|
245
|
+
|
|
246
|
+
Builder archives allow you to save a builder's state (including ingredients) and reuse it later:
|
|
247
|
+
|
|
248
|
+
```javascript
|
|
249
|
+
// Create a builder with ingredients
|
|
250
|
+
const builder = Builder.new();
|
|
251
|
+
|
|
252
|
+
const ingredientBuffer = await fs.promises.readFile('source.jpg');
|
|
253
|
+
await builder.addIngredient(
|
|
254
|
+
JSON.stringify({
|
|
255
|
+
title: 'source.jpg',
|
|
256
|
+
format: 'image/jpeg',
|
|
257
|
+
instance_id: 'source-123',
|
|
258
|
+
}),
|
|
259
|
+
{
|
|
260
|
+
buffer: ingredientBuffer,
|
|
261
|
+
mimeType: 'image/jpeg',
|
|
262
|
+
}
|
|
263
|
+
);
|
|
264
|
+
|
|
265
|
+
// Save as an archive
|
|
266
|
+
await builder.toArchive({ path: 'builder-archive.zip' });
|
|
267
|
+
|
|
268
|
+
// Later, recreate the builder from the archive
|
|
269
|
+
const restoredBuilder = await Builder.fromArchive({ path: 'builder-archive.zip' });
|
|
270
|
+
|
|
271
|
+
// The ingredients are preserved
|
|
272
|
+
const definition = restoredBuilder.getManifestDefinition();
|
|
273
|
+
console.log(definition.ingredients); // Contains the ingredient
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
For complete type definitions, see the [@contentauth/c2pa-types](https://www.npmjs.com/package/@contentauth/c2pa-types) package.
|
|
277
|
+
|
|
119
278
|
### Signers
|
|
120
279
|
|
|
121
280
|
The library provides several types of signers for different use cases:
|
package/dist/Reader.spec.js
CHANGED
|
@@ -22,6 +22,7 @@ describe("Reader", () => {
|
|
|
22
22
|
"manifests": {
|
|
23
23
|
"contentauth:urn:uuid:c2677d4b-0a93-4444-876f-ed2f2d40b8cf": {
|
|
24
24
|
"claim_generator": "make_test_images/0.33.1 c2pa-rs/0.33.1",
|
|
25
|
+
"claim_version": 1,
|
|
25
26
|
"claim_generator_info": [
|
|
26
27
|
{
|
|
27
28
|
"name": "make_test_images",
|
|
@@ -152,6 +153,28 @@ describe("Reader", () => {
|
|
|
152
153
|
});
|
|
153
154
|
const json = reader.json();
|
|
154
155
|
expect(json.manifests).toEqual(manifestStore.manifests);
|
|
156
|
+
expect(json.validation_status[0].code).toEqual("signingCredential.untrusted");
|
|
157
|
+
}));
|
|
158
|
+
it("should read from manifest data and file with settings context", () => __awaiter(void 0, void 0, void 0, function* () {
|
|
159
|
+
const manifestData = yield fs.readFile("./tests/fixtures/CA/manifest_data.c2pa");
|
|
160
|
+
const buffer = yield fs.readFile("./tests/fixtures/CA.jpg");
|
|
161
|
+
const settings = {
|
|
162
|
+
verify: {
|
|
163
|
+
verify_after_reading: false,
|
|
164
|
+
verify_trust: false,
|
|
165
|
+
},
|
|
166
|
+
};
|
|
167
|
+
const reader = yield Reader.fromManifestDataAndAsset(manifestData, {
|
|
168
|
+
buffer,
|
|
169
|
+
mimeType: "jpeg",
|
|
170
|
+
}, settings);
|
|
171
|
+
expect(reader).not.toBeNull();
|
|
172
|
+
const json = reader.json();
|
|
173
|
+
// Settings should affect validation behavior
|
|
174
|
+
// With verify_after_reading: false, validation_status should be undefined
|
|
175
|
+
expect(json.validation_status).toBeUndefined();
|
|
176
|
+
expect(json.manifests).toBeDefined();
|
|
177
|
+
expect(json.active_manifest).toEqual(manifestStore.active_manifest);
|
|
155
178
|
}));
|
|
156
179
|
it("should write to a file", () => __awaiter(void 0, void 0, void 0, function* () {
|
|
157
180
|
var _a;
|
package/dist/index.node
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/neon_builder.rs
CHANGED
|
@@ -293,14 +293,17 @@ impl NeonBuilder {
|
|
|
293
293
|
.argument::<JsObject>(0)
|
|
294
294
|
.and_then(|obj| parse_asset(&mut cx, obj))?;
|
|
295
295
|
|
|
296
|
-
|
|
297
|
-
let _context_opt =
|
|
296
|
+
let context_opt =
|
|
298
297
|
parse_settings(&mut cx, 1, "Builder").or_else(|err| cx.throw_error(err.to_string()))?;
|
|
299
298
|
|
|
300
299
|
let promise = cx
|
|
301
300
|
.task(move || {
|
|
302
301
|
let source_stream = source.into_read_stream()?;
|
|
303
|
-
let builder =
|
|
302
|
+
let builder = if let Some(context) = context_opt {
|
|
303
|
+
Builder::from_context(context).with_archive(source_stream)?
|
|
304
|
+
} else {
|
|
305
|
+
Builder::from_archive(source_stream)?
|
|
306
|
+
};
|
|
304
307
|
Ok(builder)
|
|
305
308
|
})
|
|
306
309
|
.promise(
|
package/src/neon_reader.rs
CHANGED
|
@@ -110,7 +110,7 @@ impl NeonReader {
|
|
|
110
110
|
|
|
111
111
|
// Parse optional settings parameter (argument 2) - note: settings are not currently used
|
|
112
112
|
// for from_manifest_data_and_asset as the c2pa-rs API doesn't support context for this method yet
|
|
113
|
-
let
|
|
113
|
+
let context_opt =
|
|
114
114
|
parse_settings(&mut cx, 2, "Reader").or_else(|err| cx.throw_error(err.to_string()))?;
|
|
115
115
|
|
|
116
116
|
let c2pa_data = manifest_data.as_slice(&cx).to_vec();
|
|
@@ -125,11 +125,13 @@ impl NeonReader {
|
|
|
125
125
|
.to_owned();
|
|
126
126
|
let stream = asset.into_read_stream()?;
|
|
127
127
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
128
|
+
let reader = if let Some(context) = context_opt {
|
|
129
|
+
Reader::from_context(context)
|
|
130
|
+
.with_manifest_data_and_stream_async(&c2pa_data, &format, stream)
|
|
131
|
+
.await?
|
|
132
|
+
} else {
|
|
133
|
+
Reader::from_manifest_data_and_stream_async(&c2pa_data, &format, stream).await?
|
|
134
|
+
};
|
|
133
135
|
|
|
134
136
|
Ok(reader)
|
|
135
137
|
}
|