Skip to content

Releases: clucompany/Enclose

v1.2.1

15 Apr 22:23
Compare
Choose a tag to compare

Support for new features from Rust 2024, plus some simplifications and minor fixes.

Highlights:

  • Added support for Rust 2024.
  • Added support for async and async move blocks in enclude and enc macros, added in the 2024 revisions.
  • Added support for trailing commas in enclose_var macros (issue 3, thanks to @databasedav).
  • The implementation of the enc macro has been significantly simplified.
  • The README.md documentation has been updated to reflect the latest fixes in tests and examples.

1.2.0

18 May 22:49
Compare
Choose a tag to compare
  1. Removed travis.yml
  2. Updated package description
  3. Bumped package version to 1.2.0
  4. Made some minor updates to the readme.md
  5. Renamed some examples
  6. Removed run_enc and run_enclose macros, which were replaced with the more straightforward () syntax at the end of enclose for concise tests
  7. Documented several macros
  8. Added support for trailing commas in macro arguments for enclose
  9. Updated tests
  10. Simplified the implementation of the enc, enclose and enclose_var macros

1.1.9

08 Apr 23:46
426646e
Compare
Choose a tag to compare

Update 1.1.8->1.1.9

  1. Simplification of macros.
  2. Improvement of tests.
  3. Improvement of documentation.
  4. Added #![no_std].
  5. Updating of documentation.
  6. Added the possibility to specify types of variables in the table of contents, it may be useful when using the @ sign with indication of own functions of transformations.
  7. Added support for "reference var".
  8. Added macro set_enclose.
  9. The additional macros are separated from the main macros.
  10. Errors are corrected (set_enc, dep).
  11. Added full ref for closure variables.

1.1.8

23 Aug 18:21
Compare
Choose a tag to compare

Update 1.1.7->1.1.8

  1. Updated examples:
    1. Added example cogitri_issue for checking and excluding bug #1
  2. Updated checks - Added a check for the number of copy (or clone) values in enclose.
  3. Added macro for short circuit creation and start. (run_enclose!, run_enc!)
  4. Documentation updated
    1. Removed many unnecessary "Move" semantics from closures in the documentation.
  5. Added experimentally a method allowing to exclude a large number of 'move closure' (ok tested, url: #2)
  6. Added experimental methods for managing the semantics of data cloning: premature and ... .

Bug fix:

  1. Cloning struct fields directly, url: #1
  2. Fixing the New Macro Semantics, url: #2

1.1.6

05 Apr 14:58
cbf8f6d
Compare
Choose a tag to compare
  1. Added mut literals.
  2. Added * literals.
  3. Refactoring of examples.

0.1.4

03 Mar 15:41
ecde337
Compare
Choose a tag to compare
  1. Add edition=2019
  2. Fix docs

0.1.3

09 Dec 12:52
Compare
Choose a tag to compare
1. Init repo