Merge pull request #301926 from otavio/mcumgr

mcumgr-client: init at 0.0.4

authored by tomberek and committed by GitHub 39abaaa2 3e1e3b27

+1011
+965
pkgs/by-name/mc/mcumgr-client/Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 3 4 + 5 + [[package]] 6 + name = "aho-corasick" 7 + version = "1.1.3" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" 10 + dependencies = [ 11 + "memchr", 12 + ] 13 + 14 + [[package]] 15 + name = "anstream" 16 + version = "0.6.13" 17 + source = "registry+https://github.com/rust-lang/crates.io-index" 18 + checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb" 19 + dependencies = [ 20 + "anstyle", 21 + "anstyle-parse", 22 + "anstyle-query", 23 + "anstyle-wincon", 24 + "colorchoice", 25 + "utf8parse", 26 + ] 27 + 28 + [[package]] 29 + name = "anstyle" 30 + version = "1.0.6" 31 + source = "registry+https://github.com/rust-lang/crates.io-index" 32 + checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" 33 + 34 + [[package]] 35 + name = "anstyle-parse" 36 + version = "0.2.3" 37 + source = "registry+https://github.com/rust-lang/crates.io-index" 38 + checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" 39 + dependencies = [ 40 + "utf8parse", 41 + ] 42 + 43 + [[package]] 44 + name = "anstyle-query" 45 + version = "1.0.2" 46 + source = "registry+https://github.com/rust-lang/crates.io-index" 47 + checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" 48 + dependencies = [ 49 + "windows-sys", 50 + ] 51 + 52 + [[package]] 53 + name = "anstyle-wincon" 54 + version = "3.0.2" 55 + source = "registry+https://github.com/rust-lang/crates.io-index" 56 + checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" 57 + dependencies = [ 58 + "anstyle", 59 + "windows-sys", 60 + ] 61 + 62 + [[package]] 63 + name = "anyhow" 64 + version = "1.0.81" 65 + source = "registry+https://github.com/rust-lang/crates.io-index" 66 + checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" 67 + 68 + [[package]] 69 + name = "autocfg" 70 + version = "1.2.0" 71 + source = "registry+https://github.com/rust-lang/crates.io-index" 72 + checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" 73 + 74 + [[package]] 75 + name = "base64" 76 + version = "0.21.7" 77 + source = "registry+https://github.com/rust-lang/crates.io-index" 78 + checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" 79 + 80 + [[package]] 81 + name = "bincode" 82 + version = "1.3.3" 83 + source = "registry+https://github.com/rust-lang/crates.io-index" 84 + checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" 85 + dependencies = [ 86 + "serde", 87 + ] 88 + 89 + [[package]] 90 + name = "bitflags" 91 + version = "1.3.2" 92 + source = "registry+https://github.com/rust-lang/crates.io-index" 93 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 94 + 95 + [[package]] 96 + name = "bitflags" 97 + version = "2.5.0" 98 + source = "registry+https://github.com/rust-lang/crates.io-index" 99 + checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" 100 + 101 + [[package]] 102 + name = "block-buffer" 103 + version = "0.10.4" 104 + source = "registry+https://github.com/rust-lang/crates.io-index" 105 + checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 106 + dependencies = [ 107 + "generic-array", 108 + ] 109 + 110 + [[package]] 111 + name = "byteorder" 112 + version = "1.5.0" 113 + source = "registry+https://github.com/rust-lang/crates.io-index" 114 + checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 115 + 116 + [[package]] 117 + name = "cfg-if" 118 + version = "1.0.0" 119 + source = "registry+https://github.com/rust-lang/crates.io-index" 120 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 121 + 122 + [[package]] 123 + name = "clap" 124 + version = "4.5.4" 125 + source = "registry+https://github.com/rust-lang/crates.io-index" 126 + checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" 127 + dependencies = [ 128 + "clap_builder", 129 + "clap_derive", 130 + ] 131 + 132 + [[package]] 133 + name = "clap_builder" 134 + version = "4.5.2" 135 + source = "registry+https://github.com/rust-lang/crates.io-index" 136 + checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" 137 + dependencies = [ 138 + "anstream", 139 + "anstyle", 140 + "clap_lex", 141 + "strsim", 142 + ] 143 + 144 + [[package]] 145 + name = "clap_derive" 146 + version = "4.5.4" 147 + source = "registry+https://github.com/rust-lang/crates.io-index" 148 + checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" 149 + dependencies = [ 150 + "heck", 151 + "proc-macro2", 152 + "quote", 153 + "syn 2.0.58", 154 + ] 155 + 156 + [[package]] 157 + name = "clap_lex" 158 + version = "0.7.0" 159 + source = "registry+https://github.com/rust-lang/crates.io-index" 160 + checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" 161 + 162 + [[package]] 163 + name = "colorchoice" 164 + version = "1.0.0" 165 + source = "registry+https://github.com/rust-lang/crates.io-index" 166 + checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" 167 + 168 + [[package]] 169 + name = "console" 170 + version = "0.15.8" 171 + source = "registry+https://github.com/rust-lang/crates.io-index" 172 + checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" 173 + dependencies = [ 174 + "encode_unicode", 175 + "lazy_static", 176 + "libc", 177 + "unicode-width", 178 + "windows-sys", 179 + ] 180 + 181 + [[package]] 182 + name = "core-foundation-sys" 183 + version = "0.8.6" 184 + source = "registry+https://github.com/rust-lang/crates.io-index" 185 + checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" 186 + 187 + [[package]] 188 + name = "cpufeatures" 189 + version = "0.2.12" 190 + source = "registry+https://github.com/rust-lang/crates.io-index" 191 + checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" 192 + dependencies = [ 193 + "libc", 194 + ] 195 + 196 + [[package]] 197 + name = "crc16" 198 + version = "0.4.0" 199 + source = "registry+https://github.com/rust-lang/crates.io-index" 200 + checksum = "338089f42c427b86394a5ee60ff321da23a5c89c9d89514c829687b26359fcff" 201 + 202 + [[package]] 203 + name = "crypto-common" 204 + version = "0.1.6" 205 + source = "registry+https://github.com/rust-lang/crates.io-index" 206 + checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 207 + dependencies = [ 208 + "generic-array", 209 + "typenum", 210 + ] 211 + 212 + [[package]] 213 + name = "deranged" 214 + version = "0.3.11" 215 + source = "registry+https://github.com/rust-lang/crates.io-index" 216 + checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" 217 + dependencies = [ 218 + "powerfmt", 219 + ] 220 + 221 + [[package]] 222 + name = "digest" 223 + version = "0.10.7" 224 + source = "registry+https://github.com/rust-lang/crates.io-index" 225 + checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 226 + dependencies = [ 227 + "block-buffer", 228 + "crypto-common", 229 + ] 230 + 231 + [[package]] 232 + name = "encode_unicode" 233 + version = "0.3.6" 234 + source = "registry+https://github.com/rust-lang/crates.io-index" 235 + checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" 236 + 237 + [[package]] 238 + name = "generic-array" 239 + version = "0.14.7" 240 + source = "registry+https://github.com/rust-lang/crates.io-index" 241 + checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 242 + dependencies = [ 243 + "typenum", 244 + "version_check", 245 + ] 246 + 247 + [[package]] 248 + name = "getrandom" 249 + version = "0.2.12" 250 + source = "registry+https://github.com/rust-lang/crates.io-index" 251 + checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" 252 + dependencies = [ 253 + "cfg-if", 254 + "libc", 255 + "wasi", 256 + ] 257 + 258 + [[package]] 259 + name = "half" 260 + version = "1.8.3" 261 + source = "registry+https://github.com/rust-lang/crates.io-index" 262 + checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" 263 + 264 + [[package]] 265 + name = "heck" 266 + version = "0.5.0" 267 + source = "registry+https://github.com/rust-lang/crates.io-index" 268 + checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 269 + 270 + [[package]] 271 + name = "hex" 272 + version = "0.4.3" 273 + source = "registry+https://github.com/rust-lang/crates.io-index" 274 + checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 275 + 276 + [[package]] 277 + name = "humantime" 278 + version = "2.1.0" 279 + source = "registry+https://github.com/rust-lang/crates.io-index" 280 + checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" 281 + 282 + [[package]] 283 + name = "indicatif" 284 + version = "0.17.8" 285 + source = "registry+https://github.com/rust-lang/crates.io-index" 286 + checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" 287 + dependencies = [ 288 + "console", 289 + "instant", 290 + "number_prefix", 291 + "portable-atomic", 292 + "unicode-width", 293 + ] 294 + 295 + [[package]] 296 + name = "instant" 297 + version = "0.1.12" 298 + source = "registry+https://github.com/rust-lang/crates.io-index" 299 + checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" 300 + dependencies = [ 301 + "cfg-if", 302 + ] 303 + 304 + [[package]] 305 + name = "io-kit-sys" 306 + version = "0.4.1" 307 + source = "registry+https://github.com/rust-lang/crates.io-index" 308 + checksum = "617ee6cf8e3f66f3b4ea67a4058564628cde41901316e19f559e14c7c72c5e7b" 309 + dependencies = [ 310 + "core-foundation-sys", 311 + "mach2", 312 + ] 313 + 314 + [[package]] 315 + name = "itoa" 316 + version = "1.0.11" 317 + source = "registry+https://github.com/rust-lang/crates.io-index" 318 + checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" 319 + 320 + [[package]] 321 + name = "lazy_static" 322 + version = "1.4.0" 323 + source = "registry+https://github.com/rust-lang/crates.io-index" 324 + checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 325 + 326 + [[package]] 327 + name = "libc" 328 + version = "0.2.153" 329 + source = "registry+https://github.com/rust-lang/crates.io-index" 330 + checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" 331 + 332 + [[package]] 333 + name = "libudev" 334 + version = "0.3.0" 335 + source = "registry+https://github.com/rust-lang/crates.io-index" 336 + checksum = "78b324152da65df7bb95acfcaab55e3097ceaab02fb19b228a9eb74d55f135e0" 337 + dependencies = [ 338 + "libc", 339 + "libudev-sys", 340 + ] 341 + 342 + [[package]] 343 + name = "libudev-sys" 344 + version = "0.1.4" 345 + source = "registry+https://github.com/rust-lang/crates.io-index" 346 + checksum = "3c8469b4a23b962c1396b9b451dda50ef5b283e8dd309d69033475fa9b334324" 347 + dependencies = [ 348 + "libc", 349 + "pkg-config", 350 + ] 351 + 352 + [[package]] 353 + name = "log" 354 + version = "0.4.21" 355 + source = "registry+https://github.com/rust-lang/crates.io-index" 356 + checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" 357 + 358 + [[package]] 359 + name = "mach2" 360 + version = "0.4.2" 361 + source = "registry+https://github.com/rust-lang/crates.io-index" 362 + checksum = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709" 363 + dependencies = [ 364 + "libc", 365 + ] 366 + 367 + [[package]] 368 + name = "mcumgr-client" 369 + version = "0.0.4" 370 + dependencies = [ 371 + "anyhow", 372 + "base64", 373 + "bincode", 374 + "byteorder", 375 + "clap", 376 + "crc16", 377 + "hex", 378 + "humantime", 379 + "indicatif", 380 + "lazy_static", 381 + "log", 382 + "num", 383 + "num-derive", 384 + "num-traits", 385 + "rand", 386 + "serde", 387 + "serde_bytes", 388 + "serde_cbor", 389 + "serde_json", 390 + "serde_repr", 391 + "serialport", 392 + "sha2", 393 + "simplelog", 394 + ] 395 + 396 + [[package]] 397 + name = "memchr" 398 + version = "2.7.2" 399 + source = "registry+https://github.com/rust-lang/crates.io-index" 400 + checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" 401 + 402 + [[package]] 403 + name = "nix" 404 + version = "0.26.4" 405 + source = "registry+https://github.com/rust-lang/crates.io-index" 406 + checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" 407 + dependencies = [ 408 + "bitflags 1.3.2", 409 + "cfg-if", 410 + "libc", 411 + ] 412 + 413 + [[package]] 414 + name = "num" 415 + version = "0.4.1" 416 + source = "registry+https://github.com/rust-lang/crates.io-index" 417 + checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af" 418 + dependencies = [ 419 + "num-bigint", 420 + "num-complex", 421 + "num-integer", 422 + "num-iter", 423 + "num-rational", 424 + "num-traits", 425 + ] 426 + 427 + [[package]] 428 + name = "num-bigint" 429 + version = "0.4.4" 430 + source = "registry+https://github.com/rust-lang/crates.io-index" 431 + checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" 432 + dependencies = [ 433 + "autocfg", 434 + "num-integer", 435 + "num-traits", 436 + ] 437 + 438 + [[package]] 439 + name = "num-complex" 440 + version = "0.4.5" 441 + source = "registry+https://github.com/rust-lang/crates.io-index" 442 + checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" 443 + dependencies = [ 444 + "num-traits", 445 + ] 446 + 447 + [[package]] 448 + name = "num-conv" 449 + version = "0.1.0" 450 + source = "registry+https://github.com/rust-lang/crates.io-index" 451 + checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" 452 + 453 + [[package]] 454 + name = "num-derive" 455 + version = "0.3.3" 456 + source = "registry+https://github.com/rust-lang/crates.io-index" 457 + checksum = "876a53fff98e03a936a674b29568b0e605f06b29372c2489ff4de23f1949743d" 458 + dependencies = [ 459 + "proc-macro2", 460 + "quote", 461 + "syn 1.0.109", 462 + ] 463 + 464 + [[package]] 465 + name = "num-integer" 466 + version = "0.1.46" 467 + source = "registry+https://github.com/rust-lang/crates.io-index" 468 + checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" 469 + dependencies = [ 470 + "num-traits", 471 + ] 472 + 473 + [[package]] 474 + name = "num-iter" 475 + version = "0.1.44" 476 + source = "registry+https://github.com/rust-lang/crates.io-index" 477 + checksum = "d869c01cc0c455284163fd0092f1f93835385ccab5a98a0dcc497b2f8bf055a9" 478 + dependencies = [ 479 + "autocfg", 480 + "num-integer", 481 + "num-traits", 482 + ] 483 + 484 + [[package]] 485 + name = "num-rational" 486 + version = "0.4.1" 487 + source = "registry+https://github.com/rust-lang/crates.io-index" 488 + checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" 489 + dependencies = [ 490 + "autocfg", 491 + "num-bigint", 492 + "num-integer", 493 + "num-traits", 494 + ] 495 + 496 + [[package]] 497 + name = "num-traits" 498 + version = "0.2.18" 499 + source = "registry+https://github.com/rust-lang/crates.io-index" 500 + checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" 501 + dependencies = [ 502 + "autocfg", 503 + ] 504 + 505 + [[package]] 506 + name = "num_threads" 507 + version = "0.1.7" 508 + source = "registry+https://github.com/rust-lang/crates.io-index" 509 + checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" 510 + dependencies = [ 511 + "libc", 512 + ] 513 + 514 + [[package]] 515 + name = "number_prefix" 516 + version = "0.4.0" 517 + source = "registry+https://github.com/rust-lang/crates.io-index" 518 + checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" 519 + 520 + [[package]] 521 + name = "pkg-config" 522 + version = "0.3.30" 523 + source = "registry+https://github.com/rust-lang/crates.io-index" 524 + checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" 525 + 526 + [[package]] 527 + name = "portable-atomic" 528 + version = "1.6.0" 529 + source = "registry+https://github.com/rust-lang/crates.io-index" 530 + checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" 531 + 532 + [[package]] 533 + name = "powerfmt" 534 + version = "0.2.0" 535 + source = "registry+https://github.com/rust-lang/crates.io-index" 536 + checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" 537 + 538 + [[package]] 539 + name = "ppv-lite86" 540 + version = "0.2.17" 541 + source = "registry+https://github.com/rust-lang/crates.io-index" 542 + checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" 543 + 544 + [[package]] 545 + name = "proc-macro2" 546 + version = "1.0.79" 547 + source = "registry+https://github.com/rust-lang/crates.io-index" 548 + checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" 549 + dependencies = [ 550 + "unicode-ident", 551 + ] 552 + 553 + [[package]] 554 + name = "quote" 555 + version = "1.0.35" 556 + source = "registry+https://github.com/rust-lang/crates.io-index" 557 + checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" 558 + dependencies = [ 559 + "proc-macro2", 560 + ] 561 + 562 + [[package]] 563 + name = "rand" 564 + version = "0.8.5" 565 + source = "registry+https://github.com/rust-lang/crates.io-index" 566 + checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 567 + dependencies = [ 568 + "libc", 569 + "rand_chacha", 570 + "rand_core", 571 + ] 572 + 573 + [[package]] 574 + name = "rand_chacha" 575 + version = "0.3.1" 576 + source = "registry+https://github.com/rust-lang/crates.io-index" 577 + checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 578 + dependencies = [ 579 + "ppv-lite86", 580 + "rand_core", 581 + ] 582 + 583 + [[package]] 584 + name = "rand_core" 585 + version = "0.6.4" 586 + source = "registry+https://github.com/rust-lang/crates.io-index" 587 + checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 588 + dependencies = [ 589 + "getrandom", 590 + ] 591 + 592 + [[package]] 593 + name = "regex" 594 + version = "1.10.4" 595 + source = "registry+https://github.com/rust-lang/crates.io-index" 596 + checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" 597 + dependencies = [ 598 + "aho-corasick", 599 + "memchr", 600 + "regex-automata", 601 + "regex-syntax", 602 + ] 603 + 604 + [[package]] 605 + name = "regex-automata" 606 + version = "0.4.6" 607 + source = "registry+https://github.com/rust-lang/crates.io-index" 608 + checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" 609 + dependencies = [ 610 + "aho-corasick", 611 + "memchr", 612 + "regex-syntax", 613 + ] 614 + 615 + [[package]] 616 + name = "regex-syntax" 617 + version = "0.8.3" 618 + source = "registry+https://github.com/rust-lang/crates.io-index" 619 + checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" 620 + 621 + [[package]] 622 + name = "ryu" 623 + version = "1.0.17" 624 + source = "registry+https://github.com/rust-lang/crates.io-index" 625 + checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" 626 + 627 + [[package]] 628 + name = "scopeguard" 629 + version = "1.2.0" 630 + source = "registry+https://github.com/rust-lang/crates.io-index" 631 + checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 632 + 633 + [[package]] 634 + name = "serde" 635 + version = "1.0.197" 636 + source = "registry+https://github.com/rust-lang/crates.io-index" 637 + checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" 638 + dependencies = [ 639 + "serde_derive", 640 + ] 641 + 642 + [[package]] 643 + name = "serde_bytes" 644 + version = "0.11.14" 645 + source = "registry+https://github.com/rust-lang/crates.io-index" 646 + checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" 647 + dependencies = [ 648 + "serde", 649 + ] 650 + 651 + [[package]] 652 + name = "serde_cbor" 653 + version = "0.11.2" 654 + source = "registry+https://github.com/rust-lang/crates.io-index" 655 + checksum = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5" 656 + dependencies = [ 657 + "half", 658 + "serde", 659 + ] 660 + 661 + [[package]] 662 + name = "serde_derive" 663 + version = "1.0.197" 664 + source = "registry+https://github.com/rust-lang/crates.io-index" 665 + checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" 666 + dependencies = [ 667 + "proc-macro2", 668 + "quote", 669 + "syn 2.0.58", 670 + ] 671 + 672 + [[package]] 673 + name = "serde_json" 674 + version = "1.0.115" 675 + source = "registry+https://github.com/rust-lang/crates.io-index" 676 + checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" 677 + dependencies = [ 678 + "itoa", 679 + "ryu", 680 + "serde", 681 + ] 682 + 683 + [[package]] 684 + name = "serde_repr" 685 + version = "0.1.18" 686 + source = "registry+https://github.com/rust-lang/crates.io-index" 687 + checksum = "0b2e6b945e9d3df726b65d6ee24060aff8e3533d431f677a9695db04eff9dfdb" 688 + dependencies = [ 689 + "proc-macro2", 690 + "quote", 691 + "syn 2.0.58", 692 + ] 693 + 694 + [[package]] 695 + name = "serialport" 696 + version = "4.3.0" 697 + source = "registry+https://github.com/rust-lang/crates.io-index" 698 + checksum = "8f5a15d0be940df84846264b09b51b10b931fb2f275becb80934e3568a016828" 699 + dependencies = [ 700 + "bitflags 2.5.0", 701 + "cfg-if", 702 + "core-foundation-sys", 703 + "io-kit-sys", 704 + "libudev", 705 + "mach2", 706 + "nix", 707 + "regex", 708 + "scopeguard", 709 + "unescaper", 710 + "winapi", 711 + ] 712 + 713 + [[package]] 714 + name = "sha2" 715 + version = "0.10.8" 716 + source = "registry+https://github.com/rust-lang/crates.io-index" 717 + checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" 718 + dependencies = [ 719 + "cfg-if", 720 + "cpufeatures", 721 + "digest", 722 + ] 723 + 724 + [[package]] 725 + name = "simplelog" 726 + version = "0.12.2" 727 + source = "registry+https://github.com/rust-lang/crates.io-index" 728 + checksum = "16257adbfaef1ee58b1363bdc0664c9b8e1e30aed86049635fb5f147d065a9c0" 729 + dependencies = [ 730 + "log", 731 + "termcolor", 732 + "time", 733 + ] 734 + 735 + [[package]] 736 + name = "strsim" 737 + version = "0.11.1" 738 + source = "registry+https://github.com/rust-lang/crates.io-index" 739 + checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" 740 + 741 + [[package]] 742 + name = "syn" 743 + version = "1.0.109" 744 + source = "registry+https://github.com/rust-lang/crates.io-index" 745 + checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 746 + dependencies = [ 747 + "proc-macro2", 748 + "quote", 749 + "unicode-ident", 750 + ] 751 + 752 + [[package]] 753 + name = "syn" 754 + version = "2.0.58" 755 + source = "registry+https://github.com/rust-lang/crates.io-index" 756 + checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687" 757 + dependencies = [ 758 + "proc-macro2", 759 + "quote", 760 + "unicode-ident", 761 + ] 762 + 763 + [[package]] 764 + name = "termcolor" 765 + version = "1.4.1" 766 + source = "registry+https://github.com/rust-lang/crates.io-index" 767 + checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" 768 + dependencies = [ 769 + "winapi-util", 770 + ] 771 + 772 + [[package]] 773 + name = "thiserror" 774 + version = "1.0.58" 775 + source = "registry+https://github.com/rust-lang/crates.io-index" 776 + checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" 777 + dependencies = [ 778 + "thiserror-impl", 779 + ] 780 + 781 + [[package]] 782 + name = "thiserror-impl" 783 + version = "1.0.58" 784 + source = "registry+https://github.com/rust-lang/crates.io-index" 785 + checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" 786 + dependencies = [ 787 + "proc-macro2", 788 + "quote", 789 + "syn 2.0.58", 790 + ] 791 + 792 + [[package]] 793 + name = "time" 794 + version = "0.3.34" 795 + source = "registry+https://github.com/rust-lang/crates.io-index" 796 + checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" 797 + dependencies = [ 798 + "deranged", 799 + "itoa", 800 + "libc", 801 + "num-conv", 802 + "num_threads", 803 + "powerfmt", 804 + "serde", 805 + "time-core", 806 + "time-macros", 807 + ] 808 + 809 + [[package]] 810 + name = "time-core" 811 + version = "0.1.2" 812 + source = "registry+https://github.com/rust-lang/crates.io-index" 813 + checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" 814 + 815 + [[package]] 816 + name = "time-macros" 817 + version = "0.2.17" 818 + source = "registry+https://github.com/rust-lang/crates.io-index" 819 + checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" 820 + dependencies = [ 821 + "num-conv", 822 + "time-core", 823 + ] 824 + 825 + [[package]] 826 + name = "typenum" 827 + version = "1.17.0" 828 + source = "registry+https://github.com/rust-lang/crates.io-index" 829 + checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" 830 + 831 + [[package]] 832 + name = "unescaper" 833 + version = "0.1.4" 834 + source = "registry+https://github.com/rust-lang/crates.io-index" 835 + checksum = "0adf6ad32eb5b3cadff915f7b770faaac8f7ff0476633aa29eb0d9584d889d34" 836 + dependencies = [ 837 + "thiserror", 838 + ] 839 + 840 + [[package]] 841 + name = "unicode-ident" 842 + version = "1.0.12" 843 + source = "registry+https://github.com/rust-lang/crates.io-index" 844 + checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" 845 + 846 + [[package]] 847 + name = "unicode-width" 848 + version = "0.1.11" 849 + source = "registry+https://github.com/rust-lang/crates.io-index" 850 + checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" 851 + 852 + [[package]] 853 + name = "utf8parse" 854 + version = "0.2.1" 855 + source = "registry+https://github.com/rust-lang/crates.io-index" 856 + checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" 857 + 858 + [[package]] 859 + name = "version_check" 860 + version = "0.9.4" 861 + source = "registry+https://github.com/rust-lang/crates.io-index" 862 + checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 863 + 864 + [[package]] 865 + name = "wasi" 866 + version = "0.11.0+wasi-snapshot-preview1" 867 + source = "registry+https://github.com/rust-lang/crates.io-index" 868 + checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 869 + 870 + [[package]] 871 + name = "winapi" 872 + version = "0.3.9" 873 + source = "registry+https://github.com/rust-lang/crates.io-index" 874 + checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 875 + dependencies = [ 876 + "winapi-i686-pc-windows-gnu", 877 + "winapi-x86_64-pc-windows-gnu", 878 + ] 879 + 880 + [[package]] 881 + name = "winapi-i686-pc-windows-gnu" 882 + version = "0.4.0" 883 + source = "registry+https://github.com/rust-lang/crates.io-index" 884 + checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 885 + 886 + [[package]] 887 + name = "winapi-util" 888 + version = "0.1.6" 889 + source = "registry+https://github.com/rust-lang/crates.io-index" 890 + checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" 891 + dependencies = [ 892 + "winapi", 893 + ] 894 + 895 + [[package]] 896 + name = "winapi-x86_64-pc-windows-gnu" 897 + version = "0.4.0" 898 + source = "registry+https://github.com/rust-lang/crates.io-index" 899 + checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 900 + 901 + [[package]] 902 + name = "windows-sys" 903 + version = "0.52.0" 904 + source = "registry+https://github.com/rust-lang/crates.io-index" 905 + checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 906 + dependencies = [ 907 + "windows-targets", 908 + ] 909 + 910 + [[package]] 911 + name = "windows-targets" 912 + version = "0.52.4" 913 + source = "registry+https://github.com/rust-lang/crates.io-index" 914 + checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" 915 + dependencies = [ 916 + "windows_aarch64_gnullvm", 917 + "windows_aarch64_msvc", 918 + "windows_i686_gnu", 919 + "windows_i686_msvc", 920 + "windows_x86_64_gnu", 921 + "windows_x86_64_gnullvm", 922 + "windows_x86_64_msvc", 923 + ] 924 + 925 + [[package]] 926 + name = "windows_aarch64_gnullvm" 927 + version = "0.52.4" 928 + source = "registry+https://github.com/rust-lang/crates.io-index" 929 + checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" 930 + 931 + [[package]] 932 + name = "windows_aarch64_msvc" 933 + version = "0.52.4" 934 + source = "registry+https://github.com/rust-lang/crates.io-index" 935 + checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" 936 + 937 + [[package]] 938 + name = "windows_i686_gnu" 939 + version = "0.52.4" 940 + source = "registry+https://github.com/rust-lang/crates.io-index" 941 + checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" 942 + 943 + [[package]] 944 + name = "windows_i686_msvc" 945 + version = "0.52.4" 946 + source = "registry+https://github.com/rust-lang/crates.io-index" 947 + checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" 948 + 949 + [[package]] 950 + name = "windows_x86_64_gnu" 951 + version = "0.52.4" 952 + source = "registry+https://github.com/rust-lang/crates.io-index" 953 + checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" 954 + 955 + [[package]] 956 + name = "windows_x86_64_gnullvm" 957 + version = "0.52.4" 958 + source = "registry+https://github.com/rust-lang/crates.io-index" 959 + checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" 960 + 961 + [[package]] 962 + name = "windows_x86_64_msvc" 963 + version = "0.52.4" 964 + source = "registry+https://github.com/rust-lang/crates.io-index" 965 + checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8"
+46
pkgs/by-name/mc/mcumgr-client/package.nix
··· 1 + { 2 + lib, 3 + rustPlatform, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + pkg-config, 7 + udev, 8 + stdenv, 9 + darwin, 10 + }: 11 + 12 + rustPlatform.buildRustPackage rec { 13 + pname = "mcumgr-client"; 14 + version = "0.0.4"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "vouch-opensource"; 18 + repo = "mcumgr-client"; 19 + rev = "v${version}"; 20 + hash = "sha256-MTNMnA5/CzwVrhNhDrfaXOatT4BFmc4nOPhIxTyc248="; 21 + }; 22 + 23 + cargoLock = { 24 + lockFile = ./Cargo.lock; 25 + }; 26 + 27 + passthru.updateScript = nix-update-script { }; 28 + 29 + postPatch = '' 30 + ln -s ${./Cargo.lock} Cargo.lock 31 + ''; 32 + 33 + nativeBuildInputs = [ pkg-config ]; 34 + 35 + buildInputs = 36 + lib.optionals stdenv.isLinux [ udev ] 37 + ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.IOKit ]; 38 + 39 + meta = with lib; { 40 + description = "Client for mcumgr commands"; 41 + homepage = "https://github.com/vouch-opensource/mcumgr-client"; 42 + license = licenses.asl20; 43 + maintainers = with maintainers; [ otavio ]; 44 + mainProgram = "mcumgr-client"; 45 + }; 46 + }