app

Local-first trade for farms and co-ops
git clone https://radroots.dev/git/app.git
Log | Files | Refs | README | LICENSE

source_profile.v1.json (18884B)


      1 {
      2   "schema_version": 1,
      3   "revision": "189c49b74b4bafc142b00b76b296477931139e72",
      4   "functions": [
      5     "message_build_tags",
      6     "to_wire_parts",
      7     "message_from_tags"
      8   ],
      9   "pinned_lib_source_sha256": {
     10     "crates/event/src/message.rs": "7dc3080485077ce1cf984c8d24011892725e31b464e88dfd1bada68a8f976c40",
     11     "crates/event_codec/src/message/tags.rs": "4a32ca1ce2e78abe9c9b0aad55d610d18f9d3a9ec69ac555762cc01559d8b01f",
     12     "crates/event_codec/src/message/encode.rs": "47329dd304812d74e3c2c314d5371a12d926d86470a2e53ed6d4ec70d8efb054",
     13     "crates/event_codec/src/message/decode.rs": "2ee7f2e7510b353a017d0e5eb68c16a3c546ddc92a5c7c52add5c0f24db0625e"
     14   },
     15   "bounds": {
     16     "web_body_utf8_bytes": 4096,
     17     "web_unsigned_parts_json_bytes": 8192
     18   },
     19   "limitations": "Generic codec data is not authenticated rumor, pair-room permission, sender, relay access or publication evidence; additional web canonical/budget/schema refusals explicitly differ from generic Lib acceptance. Full rumor identity/size is a subsequent owner.",
     20   "vectors": [
     21     {
     22       "id": "first_enquiry",
     23       "mode": "write",
     24       "input": {
     25         "recipients": [
     26           {
     27             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
     28             "relay_url": null
     29           }
     30         ],
     31         "content": "Could I buy carrots?\nPlease reply here.",
     32         "reply_to": null,
     33         "subject": null
     34       },
     35       "web_status": "supported"
     36     },
     37     {
     38       "id": "recipient_hint",
     39       "mode": "write",
     40       "input": {
     41         "recipients": [
     42           {
     43             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
     44             "relay_url": "wss://hint.example.org"
     45           }
     46         ],
     47         "content": "Could I buy carrots?\nPlease reply here.",
     48         "reply_to": null,
     49         "subject": null
     50       },
     51       "web_status": "supported"
     52     },
     53     {
     54       "id": "reply",
     55       "mode": "write",
     56       "input": {
     57         "recipients": [
     58           {
     59             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
     60             "relay_url": null
     61           }
     62         ],
     63         "content": "Could I buy carrots?\nPlease reply here.",
     64         "reply_to": {
     65           "id": "1111111111111111111111111111111111111111111111111111111111111111",
     66           "relays": null
     67         },
     68         "subject": null
     69       },
     70       "web_status": "supported"
     71     },
     72     {
     73       "id": "reply_hint_subject",
     74       "mode": "write",
     75       "input": {
     76         "recipients": [
     77           {
     78             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
     79             "relay_url": null
     80           }
     81         ],
     82         "content": "Could I buy carrots?\nPlease reply here.",
     83         "reply_to": {
     84           "id": "1111111111111111111111111111111111111111111111111111111111111111",
     85           "relays": "wss://hint.example.org"
     86         },
     87         "subject": "Carrots"
     88       },
     89       "web_status": "supported"
     90     },
     91     {
     92       "id": "optional_defaults",
     93       "mode": "write",
     94       "input": {
     95         "recipients": [
     96           {
     97             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
     98           }
     99         ],
    100         "content": "Could I buy carrots?\nPlease reply here.",
    101         "reply_to": null,
    102         "subject": null
    103       },
    104       "web_status": "supported"
    105     },
    106     {
    107       "id": "two_recipient_codec_not_room_permission",
    108       "mode": "write",
    109       "input": {
    110         "recipients": [
    111           {
    112             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
    113           },
    114           {
    115             "public_key": "c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5"
    116           }
    117         ],
    118         "content": "Could I buy carrots?\nPlease reply here.",
    119         "reply_to": null,
    120         "subject": null
    121       },
    122       "web_status": "supported"
    123     },
    124     {
    125       "id": "duplicates_are_codec_data",
    126       "mode": "write",
    127       "input": {
    128         "recipients": [
    129           {
    130             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
    131           },
    132           {
    133             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
    134           }
    135         ],
    136         "content": "Could I buy carrots?\nPlease reply here.",
    137         "reply_to": null,
    138         "subject": null
    139       },
    140       "web_status": "supported"
    141     },
    142     {
    143       "id": "body_ascii_4096",
    144       "mode": "write",
    145       "input": {
    146         "recipients": [
    147           {
    148             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    149             "relay_url": null
    150           }
    151         ],
    152         "content": {
    153           "repeat": "a",
    154           "count": 4096
    155         },
    156         "reply_to": null,
    157         "subject": null
    158       },
    159       "web_status": "supported"
    160     },
    161     {
    162       "id": "body_unicode_4096_bytes",
    163       "mode": "write",
    164       "input": {
    165         "recipients": [
    166           {
    167             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    168             "relay_url": null
    169           }
    170         ],
    171         "content": {
    172           "repeat": "é",
    173           "count": 2048
    174         },
    175         "reply_to": null,
    176         "subject": null
    177       },
    178       "web_status": "supported"
    179     },
    180     {
    181       "id": "bom_is_not_rust_whitespace",
    182       "mode": "write",
    183       "input": {
    184         "recipients": [
    185           {
    186             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    187             "relay_url": null
    188           }
    189         ],
    190         "content": "",
    191         "reply_to": null,
    192         "subject": null
    193       },
    194       "web_status": "supported"
    195     },
    196     {
    197       "id": "record_separator_is_not_rust_whitespace",
    198       "mode": "write",
    199       "input": {
    200         "recipients": [
    201           {
    202             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    203             "relay_url": null
    204           }
    205         ],
    206         "content": "\u001c",
    207         "reply_to": null,
    208         "subject": null
    209       },
    210       "web_status": "supported"
    211     },
    212     {
    213       "id": "empty_body",
    214       "mode": "write",
    215       "input": {
    216         "recipients": [
    217           {
    218             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    219             "relay_url": null
    220           }
    221         ],
    222         "content": "",
    223         "reply_to": null,
    224         "subject": null
    225       },
    226       "web_status": "unsupported"
    227     },
    228     {
    229       "id": "ascii_whitespace",
    230       "mode": "write",
    231       "input": {
    232         "recipients": [
    233           {
    234             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    235             "relay_url": null
    236           }
    237         ],
    238         "content": " \t\n",
    239         "reply_to": null,
    240         "subject": null
    241       },
    242       "web_status": "unsupported"
    243     },
    244     {
    245       "id": "unicode_whitespace",
    246       "mode": "write",
    247       "input": {
    248         "recipients": [
    249           {
    250             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    251             "relay_url": null
    252           }
    253         ],
    254         "content": "… ",
    255         "reply_to": null,
    256         "subject": null
    257       },
    258       "web_status": "unsupported"
    259     },
    260     {
    261       "id": "no_recipients",
    262       "mode": "write",
    263       "input": {
    264         "recipients": [],
    265         "content": "Could I buy carrots?\nPlease reply here.",
    266         "reply_to": null,
    267         "subject": null
    268       },
    269       "web_status": "unsupported"
    270     },
    271     {
    272       "id": "empty_key",
    273       "mode": "write",
    274       "input": {
    275         "recipients": [
    276           {
    277             "public_key": " "
    278           }
    279         ],
    280         "content": "Could I buy carrots?\nPlease reply here.",
    281         "reply_to": null,
    282         "subject": null
    283       },
    284       "web_status": "unsupported"
    285     },
    286     {
    287       "id": "empty_recipient_hint",
    288       "mode": "write",
    289       "input": {
    290         "recipients": [
    291           {
    292             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    293             "relay_url": " "
    294           }
    295         ],
    296         "content": "Could I buy carrots?\nPlease reply here.",
    297         "reply_to": null,
    298         "subject": null
    299       },
    300       "web_status": "unsupported"
    301     },
    302     {
    303       "id": "empty_parent",
    304       "mode": "write",
    305       "input": {
    306         "recipients": [
    307           {
    308             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    309             "relay_url": null
    310           }
    311         ],
    312         "content": "Could I buy carrots?\nPlease reply here.",
    313         "reply_to": {
    314           "id": " ",
    315           "relays": null
    316         },
    317         "subject": null
    318       },
    319       "web_status": "unsupported"
    320     },
    321     {
    322       "id": "empty_reply_hint",
    323       "mode": "write",
    324       "input": {
    325         "recipients": [
    326           {
    327             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    328             "relay_url": null
    329           }
    330         ],
    331         "content": "Could I buy carrots?\nPlease reply here.",
    332         "reply_to": {
    333           "id": "1111111111111111111111111111111111111111111111111111111111111111",
    334           "relays": " "
    335         },
    336         "subject": null
    337       },
    338       "web_status": "unsupported"
    339     },
    340     {
    341       "id": "empty_subject",
    342       "mode": "write",
    343       "input": {
    344         "recipients": [
    345           {
    346             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    347             "relay_url": null
    348           }
    349         ],
    350         "content": "Could I buy carrots?\nPlease reply here.",
    351         "reply_to": null,
    352         "subject": " "
    353       },
    354       "web_status": "unsupported"
    355     },
    356     {
    357       "id": "noncanonical_key",
    358       "mode": "write",
    359       "input": {
    360         "recipients": [
    361           {
    362             "public_key": "alice"
    363           }
    364         ],
    365         "content": "Could I buy carrots?\nPlease reply here.",
    366         "reply_to": null,
    367         "subject": null
    368       },
    369       "web_status": "unsupported",
    370       "policy_difference": "canonical_public_key"
    371     },
    372     {
    373       "id": "uppercase_key",
    374       "mode": "write",
    375       "input": {
    376         "recipients": [
    377           {
    378             "public_key": "79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798"
    379           }
    380         ],
    381         "content": "Could I buy carrots?\nPlease reply here.",
    382         "reply_to": null,
    383         "subject": null
    384       },
    385       "web_status": "unsupported",
    386       "policy_difference": "canonical_public_key"
    387     },
    388     {
    389       "id": "invalid_curve_key",
    390       "mode": "write",
    391       "input": {
    392         "recipients": [
    393           {
    394             "public_key": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
    395           }
    396         ],
    397         "content": "Could I buy carrots?\nPlease reply here.",
    398         "reply_to": null,
    399         "subject": null
    400       },
    401       "web_status": "unsupported",
    402       "policy_difference": "canonical_public_key"
    403     },
    404     {
    405       "id": "noncanonical_parent",
    406       "mode": "write",
    407       "input": {
    408         "recipients": [
    409           {
    410             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    411             "relay_url": null
    412           }
    413         ],
    414         "content": "Could I buy carrots?\nPlease reply here.",
    415         "reply_to": {
    416           "id": "product",
    417           "relays": null
    418         },
    419         "subject": null
    420       },
    421       "web_status": "unsupported",
    422       "policy_difference": "canonical_parent_hash"
    423     },
    424     {
    425       "id": "body_ascii_4097",
    426       "mode": "write",
    427       "input": {
    428         "recipients": [
    429           {
    430             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    431             "relay_url": null
    432           }
    433         ],
    434         "content": {
    435           "repeat": "a",
    436           "count": 4097
    437         },
    438         "reply_to": null,
    439         "subject": null
    440       },
    441       "web_status": "unsupported",
    442       "policy_difference": "body_utf8_4096"
    443     },
    444     {
    445       "id": "body_unicode_4098_bytes",
    446       "mode": "write",
    447       "input": {
    448         "recipients": [
    449           {
    450             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    451             "relay_url": null
    452           }
    453         ],
    454         "content": {
    455           "repeat": "é",
    456           "count": 2049
    457         },
    458         "reply_to": null,
    459         "subject": null
    460       },
    461       "web_status": "unsupported",
    462       "policy_difference": "body_utf8_4096"
    463     },
    464     {
    465       "id": "escaped_parts_too_large",
    466       "mode": "write",
    467       "input": {
    468         "recipients": [
    469           {
    470             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    471             "relay_url": null
    472           }
    473         ],
    474         "content": {
    475           "repeat": "\"",
    476           "count": 4096
    477         },
    478         "reply_to": null,
    479         "subject": null
    480       },
    481       "web_status": "unsupported",
    482       "policy_difference": "parts_json_8192"
    483     },
    484     {
    485       "id": "subject_parts_too_large",
    486       "mode": "write",
    487       "input": {
    488         "recipients": [
    489           {
    490             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    491             "relay_url": null
    492           }
    493         ],
    494         "content": {
    495           "repeat": "a",
    496           "count": 4096
    497         },
    498         "reply_to": null,
    499         "subject": {
    500           "repeat": "b",
    501           "count": 4096
    502         }
    503       },
    504       "web_status": "unsupported",
    505       "policy_difference": "parts_json_8192"
    506     },
    507     {
    508       "id": "authored_extra_order_field",
    509       "mode": "write",
    510       "input": {
    511         "recipients": [
    512           {
    513             "public_key": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    514             "relay_url": null
    515           }
    516         ],
    517         "content": "Could I buy carrots?\nPlease reply here.",
    518         "reply_to": null,
    519         "subject": null,
    520         "order": "not-a-new-protocol"
    521       },
    522       "web_status": "unsupported",
    523       "policy_difference": "authored_schema"
    524     },
    525     {
    526       "id": "first_optional_tags_win",
    527       "mode": "read",
    528       "input": {
    529         "kind": 14,
    530         "tags": [
    531           [
    532             "p",
    533             "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
    534           ],
    535           [
    536             "e",
    537             "1111111111111111111111111111111111111111111111111111111111111111"
    538           ],
    539           [
    540             "e"
    541           ],
    542           [
    543             "subject",
    544             "first"
    545           ],
    546           [
    547             "subject",
    548             "second"
    549           ]
    550         ],
    551         "content": "hello"
    552       },
    553       "web_status": "supported"
    554     },
    555     {
    556       "id": "unknown_order_and_q_not_authority",
    557       "mode": "read",
    558       "input": {
    559         "kind": 14,
    560         "tags": [
    561           [
    562             "order",
    563             "x"
    564           ],
    565           [
    566             "q",
    567             "product"
    568           ],
    569           [
    570             "p",
    571             "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
    572           ],
    573           []
    574         ],
    575         "content": "hello"
    576       },
    577       "web_status": "supported"
    578     },
    579     {
    580       "id": "extra_known_tag_values_ignored",
    581       "mode": "read",
    582       "input": {
    583         "kind": 14,
    584         "tags": [
    585           [
    586             "p",
    587             "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    588             "wss://hint.example.org",
    589             "extra"
    590           ],
    591           [
    592             "e",
    593             "1111111111111111111111111111111111111111111111111111111111111111",
    594             "wss://hint.example.org",
    595             "extra"
    596           ],
    597           [
    598             "subject",
    599             "text",
    600             "extra"
    601           ]
    602         ],
    603         "content": "hello"
    604       },
    605       "web_status": "supported"
    606     },
    607     {
    608       "id": "duplicate_recipients_codec_data",
    609       "mode": "read",
    610       "input": {
    611         "kind": 14,
    612         "tags": [
    613           [
    614             "p",
    615             "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
    616           ],
    617           [
    618             "p",
    619             "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
    620           ]
    621         ],
    622         "content": "hello"
    623       },
    624       "web_status": "supported"
    625     },
    626     {
    627       "id": "missing_p",
    628       "mode": "read",
    629       "input": {
    630         "kind": 14,
    631         "tags": [],
    632         "content": "hello"
    633       },
    634       "web_status": "unsupported"
    635     },
    636     {
    637       "id": "malformed_p",
    638       "mode": "read",
    639       "input": {
    640         "kind": 14,
    641         "tags": [
    642           [
    643             "p",
    644             "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
    645           ],
    646           [
    647             "p"
    648           ]
    649         ],
    650         "content": "hello"
    651       },
    652       "web_status": "unsupported"
    653     },
    654     {
    655       "id": "malformed_first_e",
    656       "mode": "read",
    657       "input": {
    658         "kind": 14,
    659         "tags": [
    660           [
    661             "p",
    662             "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
    663           ],
    664           [
    665             "e"
    666           ],
    667           [
    668             "e",
    669             "1111111111111111111111111111111111111111111111111111111111111111"
    670           ]
    671         ],
    672         "content": "hello"
    673       },
    674       "web_status": "unsupported"
    675     },
    676     {
    677       "id": "malformed_first_subject",
    678       "mode": "read",
    679       "input": {
    680         "kind": 14,
    681         "tags": [
    682           [
    683             "p",
    684             "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
    685           ],
    686           [
    687             "subject"
    688           ],
    689           [
    690             "subject",
    691             "valid"
    692           ]
    693         ],
    694         "content": "hello"
    695       },
    696       "web_status": "unsupported"
    697     },
    698     {
    699       "id": "wrong_kind",
    700       "mode": "read",
    701       "input": {
    702         "kind": 15,
    703         "tags": [
    704           [
    705             "p",
    706             "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
    707           ]
    708         ],
    709         "content": "hello"
    710       },
    711       "web_status": "unsupported"
    712     },
    713     {
    714       "id": "read_noncanonical_key",
    715       "mode": "read",
    716       "input": {
    717         "kind": 14,
    718         "tags": [
    719           [
    720             "p",
    721             "alice"
    722           ]
    723         ],
    724         "content": "hello"
    725       },
    726       "web_status": "unsupported",
    727       "policy_difference": "canonical_public_key"
    728     },
    729     {
    730       "id": "read_noncanonical_parent",
    731       "mode": "read",
    732       "input": {
    733         "kind": 14,
    734         "tags": [
    735           [
    736             "p",
    737             "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
    738           ],
    739           [
    740             "e",
    741             "product"
    742           ]
    743         ],
    744         "content": "hello"
    745       },
    746       "web_status": "unsupported",
    747       "policy_difference": "canonical_parent_hash"
    748     }
    749   ]
    750 }