Skip to content

Releases: Goncalerta/proc-quote

v0.3.0

15 Aug 12:16
Compare
Choose a tag to compare

Update dependencies of proc-macro2, syn and quote to 1.0.

v0.2.2

10 Apr 11:35
Compare
Choose a tag to compare

From original quote

  • Support interpolating values of type Rc<T>

v0.2.1

03 Apr 10:48
Compare
Choose a tag to compare

Fix

  • Support raw idents

v0.2.0

25 Feb 22:27
Compare
Choose a tag to compare

Feature

  • Interpolate ToTokens in repeating pattern
  • Interpolate Vec and other types that implement Borrow<[T]> in repeating pattern without consuming the variable

Documentation

  • Improve documentation and explain new features
  • Add a Why use proc-quote section to help users decide whether they want to use this crate or the regular quote

Tests

  • Test for __stream var name conflict

Breaking Changes

  • IntoIterator will no longer necessarily be allowed in repeating blocks. Instead, explicitly calling into_iter might be required.

v0.1.1

20 Feb 19:28
Compare
Choose a tag to compare

Feature

  • Nested repeating blocks.

Performance

  • Store the Ident of the variables inside a repeating block as BTreeSet instead of Vec, because desired operations make more sense in this type.

Tests

  • Add tests from the original quote crate to check conformity.
  • Create test for iterating same variable twice on repeating block.
  • Setup travis to ensure rustfmt and that tests pass.

v0.1.0

30 Jan 17:34
Compare
Choose a tag to compare

Release 0.1.0