astreams: Generate types with an attribute proc macro #12
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 16 hours 22 minutes
Due date
Steffo
16 hours 22 minutes
No due date set.
Dependencies
No dependencies set.
Reference
uniberry/tirocinio-canali-steffo-acrate!12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/astreams-proc-macro"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
astreams: Nuke the currentvocabularymod 2f229b8b38WIP: astreams: Generate types with an attribute proc macroto WIP:astreams: Generate types with an attribute proc macroastreams_macros: Create proc-macro lib crate withsyndep 1ba1b05928astreams_macros: Addquotedep 3b4c621c8aastreams_macros: Create proc macro skeleton 00ee80acccastreams_macros: Make the macro create four structs 320d191225astreams: Also nuke tests 453ff4d0a2astreams: Addacrate_astreams_macrosdependency d5c188d406astreams_macros: Propagate visibility to the created structs b99268409dastreams_macros: Make sure annotated structs have no generics 5bc63dfee0astreams_macros: Make sure annotated structs are structs bf04e446abastreams_macros: Make sure annotated structs have named fields 3195293fbfastreams_macros: Improve error messages 50dd5f983dastreams_macros: Use a valid span for unit struct errors ad5330203dastreams_macros: Unwrap FieldsNamed struct 3732810076astreams_macros: Make sure fields aren't public or restricted-public a4b7d54daeastreams_macros: Renameastreamtovocab3d709fe5d4astreams_macros: Create no-opuriattribute ce422e6980astreams_macros: Extract uri attribute 3f95b5d518astreams_macros: Write macro to return errors 142c689730astreams: Update example case 49bbd18288astreams_macros: Arrive to the path in both regular form and slice form bb66f896daastreams: Add examplerelparameter returning multiple strings c893f98515astreams: Generate get, set, and into identifiers 3009fc3c3fastreams_macros: Generate basic trait functions 5c10992b36astreams_macros: Implement traits, actually 74b59d2983astreams_macros: Remove draft example 9064173c4dastreams_macros: Allow specifying a backend trait edf9d43687astreams: Update example accordingly 0719c0162aastreams_macros: Remove unused imports 2e2b8a02c7astreams_macros: "Fix" non-camel-case warning 442a9918b7astreams_macros: Refactor into multiple functions 934090d23eastreams_macros: Addfield_handle_nested_oneb64b25382aastreams_macros: WIP refactor a2289dbf23astreams: MakeIsLD,AccessAnyLD,AccessAllLD,AccessNestedLDpub(crate)04b2de577bastreams: Comment out dead code 8f098d1676astreams: Comment out more dead code 36ea1ea635astreamsandastreams_macros: More progress 80efbdd2f3astreamsandastreams_macros: Even more progress caff3fce2dastreamsandastreams_macros: Even more progress!!! a053c857c3astreams_macros: Add boilerplate offield_handle_nested_oneandfield_handle_nested_manyee2c3a79a2astreams_macros: Mark vocab_config parameter as deliberately unused 383a97bd76astreams_macros: Add basic module docstring 26d0c13871astreams_macros: Usesyn::Resultinstead of defining another alias 41a7a4e816astreams_macros: Add documentation for theerr!macro 96e4639210astreamsandastreams_macros: Move example to macros docstring b6a3157efeastreams_macros: Start documentingvocab_process4160026559astreams_macros: DocumentVocabIdents11f4e3be91astreams_macros: DocumentVocabConfiga00b00f631astreams_macros: Pause here 75beac71b6astreams_macros: Fixerrmacro example 789d37abc3astreams_macros: Handle generics in config 9fde8541cdastreams_macros: Get rid of more dead code 052eac32cfastreams_macros: Continue polishing 5faf4452d9astreams_macros: Use theUnderscore's span 1b8f05afd0astreams_macros: Checkpoint 9c162f26d0astreams_macros: Checkpoint 2 dece513216astreams_macros: Optimize imports d264f4c9dcastreams_macros: Specify borrows 14ecd4dbc4astreams_macros: Allow the usual clippy lints 02aeb4bcc3astreams_macros: Fix accumulator issue c269bf9412astreams_macros: Remove useless derives bba320664bastreams_macros: Handle missing != 9f27b49cd8astreams_macros: Handle moved spans 0d98cbeefdastreams_macros: Handle missing != again e047c0a305astreams_macros: Fixhandle_attr_inheritse7fd74da4fastreams_macros: Fix a few clippy lints 7944b1cdc7astreams_macros: Swap outer and inner attrs in config 58844a0a82astreams_macros: Replace todos with empty c7b8fe670fastreams_macros: Fix URI constant name b8212740d9astreams_macros: Fix trait bounds 49256d96fcastreams_macros: Stuff 1225be901castreams_macros: Get rid of uri_to_id 46e9f124d3astreams_macros: Attempt a different approach with trait bounds 2aadb09c99astreams_macros: Swap FromURI and IsLD order fbee16bbd5astreams_macros: CreateIsReaderLDandIsWriterLDtraits 61ce6b6b92astreams_macros: Progress? f8a64353ebastreams_macros: Fix example 8cce667418astreams: Maybe? c552d4e719astreams: Write docs docs docs 34d627c432astreams: Write docs docs docs docs docs 62c655cc87astreams: Write docs docs docs docs docs docs docs ec11cbf998astreams: Fix missing mut 84d0e4942dastreams: Implement LDSource 4c9ff76130astreams: Add todo reminder cd04d2625dastreams_macros: Rename uri to iri e5845b0b88astreams_macros: Start handling<_>syntax 0fc7f176e8astreams_macros: Fix missing lifetimes 1f1d0f7db9astreams: Fix some issues, probably create more 80a44a47b1astreams: Replaceuriwithiri9188c23f3castreams: Use the<_>syntax d9e9123b38astreams: Fix stuff 810fd346c3astreams: Makeld_typereturn an owned type 837015182dastreams: Remove unnecessary lifetimes 81d7b90deaastreams: Remove unnecessary lifetime fromTryFromLDf867eee92bastreams: Remove unused import 2d8915ae27astreams: I have no idea e57a62fcc8astreams: Something is happening 8e6bd9d959astreams: Apply clippy lint e2ee7d34f7astreams: Add set methods 07e26b426castreams: Add indentation (sigh) 0b8f6459faastreams: Remove indentation (siiiigh) ab249ac403astreams_macros: Remove unused imports 851685a6bbastreams_macros: URI → IRI 799bf04cc5astreams: Implement set_nested fa95e4d201astreams_macros: Start adding getters and setters 407a0fca9aastreams: Clean up 32e0cb9eaeastreams: Remove unused import 5d1c6661feastreamsandastreams_macros: Progress, maybe b54b5179f5astreamsandastreams_macros: It works!! 231f9bef41astreamsandastreams_macros: IT WORKS!!!!! 5aff998ea3astreams_macros: StoreFieldConfiginto a globalHashMap4b37c47e7castreams_macros: Generate inherited fields 7cf82f3052astreams_macros: DeriveDebugonInheritedFieldConfig766b4bf896astreams_macros: FixInheritedFieldConfigpath not getting parsed cb31f39ca3astreams_macros: Avoid creating idents multiple times inInheritedPartsc25a19488bastreams_macros: Fix a few bugs 1c7a35b22bastreams_macros: Run optimize imports c8966ec71bastreams_macros: Split in multiple files cba0bf781aastreams: Remove some useless debug logs d2d9c61118astreams: Make link pub so we don't get unused warns 16a2f1958dastreams: Addmediatype::MediaTypeBufsupport c164055080astreams: Improve mediatype errors 35009be721astreams: Remove implemented stuff fd0d0189c2astreams: Further cleanup 569879aed2astreamsandastreams_macros: Even more cleanup 388d2a941fastreams_macros: Fix non-proxies having generic types 3cb39cb3eeastreams_macros: Optimize imports 71218cab75astreams_macros: Fix invalid paths being generated for the types of inherited fields 64f009eb13astreams: Setup pub use b93b4a6113astreams_macros: Fix panic onparse_quote!of path_string d40434b346astreams_macros: Remove unused import eb21472d6dastreams_macros: Elide unused lifetime 687324d2fcastreams_macros: Add missing docstrings a9cd9050a5astreams_macros: Remove unused imports 4e660460cfastreams_macros: Remove spans where there shouldn't be any 0cb437e24fastreams_macros: Fix LitStr being used in place of Idents 0addf241e2astreams_macros: Fix incorrect return type d55a5fb555astreams_macros: Make inner field of proxiespub(crate)c6c5bcba31astreams_macros: Fix type mismatches 54a8e22ac9astreams_macros: Run cargo fmt 52bfd130ceastreams_macros: Elide unnecessary lifetime 559bfc2257astreams: Implement Language types 8a7eeeeef8astreams: Remove placeholder code 7992a15e74astreams: Explicitly allow unused_imports 9322e130abastreams: Re-add examples in a temporary location ac0fe2cac0astreams: Remove unnecessary logs 43819c16a5astreams: Create basic ser-de for jsonld eb468ff417astreams: DerivePartialEqandEqon language structs 6232f9e253astreams: Complete implementation ofLinkba3c0683bbastreams_macros: Fix one_proxy set method 22bc01cb6eastreams_macros: Add reminder that inheritance must be recursive 9fbc52f2a5astreams: Remove currently unused deps a2f2deb4afastreams: Re-add speedate dep 96fb8b0b28astreams: Implement DateTime and Duration types 625287f74fastreams: Fixup imports 671887ae35astreams: Remove legacy block of code 29b3e64a63astreams: Begin implementation of all core types 41d5ffed1bastreams_macros: Complete recursive inheritance b466671666astreams: Write test case for weird link property af49abd189astreams: Implement activity and intransitive activity 80dea95c3bastreams: Implement accept and tentative accept 1b57050f44astreams_macros: Don't make intellij complain about duplicate idents 53efd35e39astreams: Implement all the remaining activitystreams types c76b8eb0b7astreamsandastreams_macros: Run cargo fmt caf107c276astreams: Mark examples as excluded b2e4bc07a0astreams_macros: Fix some inheritances not being implemented 3bfd6fc356astreams: Accept multiplenamevalues 167801ec2dastreams: Add test for example 6 def614a235astreams: Verify that float is f32 42a285db29astreams: Implement place units 8aa71176a0astreams: Add startIndex to OrderedCollectionPage 63442481caastreams: Write some tests and test tooling 0a279c6145astreams: Add comments to units 5ae72e68a6WIP:toastreams: Generate types with an attribute proc macroastreams: Generate types with an attribute proc macro