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
"description": "The size of the compressed crate file in bytes.",
410
+
"example": 1234,
411
+
"format": "int32",
412
+
"type": "integer"
413
+
},
414
+
"created_at": {
415
+
"description": "The date and time this version was created.",
416
+
"example": "2019-12-13T13:46:41Z",
417
+
"format": "date-time",
418
+
"type": "string"
419
+
},
420
+
"description": {
421
+
"description": "The description of this version of the crate.",
422
+
"example": "A generic serialization/deserialization framework",
423
+
"type": [
424
+
"string",
425
+
"null"
426
+
]
427
+
},
428
+
"dl_path": {
429
+
"description": "The API path to download the crate.",
430
+
"example": "/api/v1/crates/serde/1.0.0/download",
431
+
"type": "string"
432
+
},
433
+
"documentation": {
434
+
"description": "The URL to the crate's documentation, if set.",
435
+
"example": "https://docs.rs/serde",
436
+
"type": [
437
+
"string",
438
+
"null"
439
+
]
440
+
},
441
+
"downloads": {
442
+
"description": "The total number of downloads for this version.",
443
+
"example": 123456,
444
+
"format": "int32",
445
+
"type": "integer"
446
+
},
447
+
"edition": {
448
+
"description": "The Rust Edition used to compile this version, if set.",
449
+
"example": "2021",
450
+
"type": [
451
+
"string",
452
+
"null"
453
+
]
454
+
},
455
+
"features": {
456
+
"description": "The features defined by this version.",
457
+
"type": "object"
458
+
},
459
+
"has_lib": {
460
+
"description": "Whether this version can be used as a library.",
461
+
"example": true,
462
+
"type": [
463
+
"boolean",
464
+
"null"
465
+
]
466
+
},
467
+
"homepage": {
468
+
"description": "The URL to the crate's homepage, if set.",
469
+
"example": "https://serde.rs",
470
+
"type": [
471
+
"string",
472
+
"null"
473
+
]
474
+
},
475
+
"id": {
476
+
"description": "An opaque identifier for the version.",
477
+
"example": 42,
478
+
"format": "int32",
479
+
"type": "integer"
480
+
},
481
+
"lib_links": {
482
+
"description": "The name of the native library this version links with, if any.",
483
+
"example": "git2",
484
+
"type": [
485
+
"string",
486
+
"null"
487
+
]
488
+
},
489
+
"license": {
490
+
"description": "The license of this version of the crate.",
491
+
"example": "MIT",
492
+
"type": [
493
+
"string",
494
+
"null"
495
+
]
496
+
},
497
+
"links": {
498
+
"$ref": "#/components/schemas/VersionLinks",
499
+
"description": "Links to other API endpoints related to this version."
500
+
},
501
+
"num": {
502
+
"description": "The version number.",
503
+
"example": "1.0.0",
504
+
"type": "string"
505
+
},
506
+
"published_by": {
507
+
"oneOf": [
508
+
{
509
+
"type": "null"
510
+
},
511
+
{
512
+
"$ref": "#/components/schemas/User",
513
+
"description": "The user who published this version.\n\nThis field may be `null` if the version was published before crates.io\nstarted recording this information."
514
+
}
515
+
]
516
+
},
517
+
"readme_path": {
518
+
"description": "The API path to download the crate's README file as HTML code.",
519
+
"example": "/api/v1/crates/serde/1.0.0/readme",
520
+
"type": "string"
521
+
},
522
+
"repository": {
523
+
"description": "The URL to the crate's repository, if set.",
524
+
"example": "https://github.com/serde-rs/serde",
525
+
"type": [
526
+
"string",
527
+
"null"
528
+
]
529
+
},
530
+
"rust_version": {
531
+
"description": "The minimum version of the Rust compiler required to compile\nthis version, if set.",
532
+
"example": "1.31",
533
+
"type": [
534
+
"string",
535
+
"null"
536
+
]
537
+
},
538
+
"updated_at": {
539
+
"description": "The date and time this version was last updated (i.e. yanked or unyanked).",
540
+
"example": "2019-12-13T13:46:41Z",
541
+
"format": "date-time",
542
+
"type": "string"
543
+
},
544
+
"yank_message": {
545
+
"description": "The message given when this version was yanked, if any.",
546
+
"example": "Security vulnerability",
547
+
"type": [
548
+
"string",
549
+
"null"
550
+
]
551
+
},
552
+
"yanked": {
553
+
"description": "Whether this version has been yanked.",
554
+
"example": false,
555
+
"type": "boolean"
556
+
}
557
+
},
558
+
"required": [
559
+
"id",
560
+
"crate",
561
+
"num",
562
+
"dl_path",
563
+
"readme_path",
564
+
"updated_at",
565
+
"created_at",
566
+
"downloads",
567
+
"features",
568
+
"yanked",
569
+
"links",
570
+
"crate_size",
571
+
"audit_actions",
572
+
"checksum"
573
+
],
574
+
"type": "object"
575
+
},
576
+
"VersionLinks": {
577
+
"properties": {
578
+
"authors": {
579
+
"deprecated": true,
580
+
"description": "The API path to download this version's authors.",
581
+
"example": "/api/v1/crates/serde/1.0.0/authors",
582
+
"type": "string"
583
+
},
584
+
"dependencies": {
585
+
"description": "The API path to download this version's dependencies.",
0 commit comments