Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[refactor] #3814: Update iroha_ffi_derive to use syn 2.0 #3830

Merged
merged 11 commits into from
Sep 5, 2023

Commits on Sep 4, 2023

  1. [refactor] hyperledger-iroha#3814: iroha_ffi_derive: replace proc-mac…

    …ro-error with manyhow
    
    Signed-off-by: Nikita Strygin <DCNick3@users.noreply.github.com>
    DCNick3 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    bbf4493 View commit details
    Browse the repository at this point in the history
  2. [refactor] hyperledger-iroha#3814: iroha_ffi_derive: use darling to p…

    …arse attributes and use syn 2.0
    
    Signed-off-by: Nikita Strygin <DCNick3@users.noreply.github.com>
    DCNick3 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    faecccd View commit details
    Browse the repository at this point in the history
  3. [refactor] hyperledger-iroha#3814: Fix typos and improve error messages

    Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
    DCNick3 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    2439acb View commit details
    Browse the repository at this point in the history
  4. [refactor] hyperledger-iroha#3814: Use parse_display to parse getset …

    …tokens
    
    Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
    DCNick3 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    1f33f8a View commit details
    Browse the repository at this point in the history
  5. [refactor] hyperledger-iroha#3814: rename Emitter::into_token_stream …

    …into Emitter::finish_token_stream
    
    Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
    DCNick3 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    85e1c97 View commit details
    Browse the repository at this point in the history
  6. [refactor] hyperledger-iroha#3814: reduce repetition in getset attrs …

    …parsing
    
    Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
    DCNick3 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    12dffd7 View commit details
    Browse the repository at this point in the history
  7. [refactor] hyperledger-iroha#2573: allow usage of pattern matching in…

    … ffi function args
    
    Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
    DCNick3 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    7aa1e3a View commit details
    Browse the repository at this point in the history
  8. [refactor] hyperledger-iroha#2573: use parse_display & update Attr ->…

    … Attrs naming
    
    Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
    DCNick3 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    7f0a772 View commit details
    Browse the repository at this point in the history
  9. [refactor] hyperledger-iroha#2573: extract a common test utility for …

    …parsing attributes to lib.rs
    
    Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
    DCNick3 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    e5cf944 View commit details
    Browse the repository at this point in the history
  10. [refactor] hyperledger-iroha#2573: clean up comments

    Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
    DCNick3 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    8c247ca View commit details
    Browse the repository at this point in the history
  11. [refactor] hyperledger-iroha#2573: document limitation of parsing der…

    …ives in proc macros
    
    Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
    DCNick3 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    a255c09 View commit details
    Browse the repository at this point in the history