Releases: clucompany/include_tt
Releases · clucompany/include_tt
v1.1.0
- package: update the library version to
1.1.0, this version will not be backward compatible, but I would like to rethink some things in the library a little - feat: rename common macro
include_tttoinject, in future all#should define include typett,array,str,... - feat: improve documentation, rework examples, add more descriptions
- feat: make it so that you no longer have to write
["test" "2"]to concatenate a file path, you can now just write"test" "2", but the old syntax is still preserved and works - feat: remove the requirement to add
!to the type of included data, this made sense before because it was the name of the macro, but now it is the data type - refactoring: fix build errors received during testing
- feat: add the ability to escape
#symbols in theinjectmacro via the-symbol. At the moment, make this abilit - y not the default, but via the
escape_symbolfeature - fix: fix the range for tokens that were replaced with empty ones, although this does not give any errors but it is po
- ssible that someday it will
- refactoring: replace old pieces of code related to
IncludewithInject(InjectTT, InjectCTT, InjectStr, ...) - feat: instead of functions with additional
breakfunctionality, add the markerAS_IS:, which excludes further par - sing and adds the macro structure after itself as is
- feat: now the main macro
injectacceptstt,ctt,arr/array,str, defining the type of data inclusion - refactoring: change the marker
#POINT_TRACKER_FILES;to#POINT_TRACKER_FILES:to give more idea that it is a marker
What's Changed
- 1.1.0 by @denisandroid in #3
Full Changelog: v1.0.7...v1.1.0
v1.0.7
- feat: add the marker
#POINT_TRACKER_FILES;. Initially, this marker is empty, but when any file is opened, it will contain code that must be included in the source code to track files and recompile the project depending on their changes. The marker can be placed anywhere, but it must be located above the group of the called macro. - feat: add to
PointTrackthe ability to control up to three tokens to further improve code generation (for example, - adding a module space that can be more easily controlled via declarative macros)
- build: move the
include.rsfile out of macros/include.rs since all macros are in one file and no other directory is needed - refactoring: general improvement of the
include_ttcodebase, reworking and simplifying some methods - refactoring: slightly improve the codebase of
ExprLit,ExprLitTryNewErr, shorten some moments - refactoring: rename
ttrytotqfor clarity (short for throw_question, short fortt + ?) - feat: improve code generator, eliminate dependency on allocator in main macro parsing
- auto-refactoring: run
cargo fmtand accept changes - refactoring: remove
#![allow(clippy::redundant_field_names)], fix all new warnings generated by clippy - refactoring: remove
#![allow(clippy::redundant_pattern_matching)], fix all new warnings generated by clippy - refactoring: remove
#![allow(clippy::needless_return)], fix all new warnings generated by clippy - build: raise library version to 1.0.7
What's Changed
- 1.0.7 by @denisandroid in #2
Full Changelog: v1.0.6...v1.0.7
v1.0.6
- refactor: replace
sq_errwiththrow_sq_err - feat: improve error output details
- fix: fix weird
spaceindent for editorconfig - build: update library versions
- refactor: switching from mandatory feature
inline(always)to less mandatoryinline - refactor: fix warnings for new
clippy - build: update library version to
1.0.6
What's Changed
- 1.0.6 by @denisandroid in #1
Full Changelog: v1.0.5...v1.0.6
v1.0.5
Support for new features from Rust 2024, plus some simplifications and minor fixes.
Highlights:
- Added support for Rust 2024.
- Updated versions of used libraries.
- Added formatting fix to the project.
- Simplified project structure: Removed the
for_examplesdirectory and integrated its data into example files.
1.0.4
- updated dependencies
- improved documentation
- fixed minor bugs in code
- removed previously deprecated code
- renamed some examples
1.0.3
- Update readme.md
- Update dependencies
- Fix
break macrotest for new Rust compiler versions - Improve examples
- Enhance documentation
1.0.2
- Refactoring
ExprLit. - Refactoring
include_and_fix_unknown_start_token. - Documentation improvement.
- Correction of empty types
tt,str,arr. - Improvement of tests.
- Minor bug fixes.
- Added the keyword #break_search_macro; in situations that require immediate termination of the search for key macros.
1.0.1
- Correction of licenses.
- Adding small tests
1.0.0
- Published on github.