David Tolnay
0b84b0abf4
Add test for duplicate token
2016-10-08 15:29:17 -07:00
David Tolnay
9137f4b6fd
Bump version in readme
2016-10-08 14:55:59 -07:00
David Tolnay
b058bc8084
Release 0.3.0
2016-10-08 14:52:52 -07:00
David Tolnay
cf9df99dd9
Empty repetition is empty
2016-10-08 14:51:23 -07:00
David Tolnay
6b4c370877
Release 0.3.0-rc2
2016-10-08 10:51:43 -07:00
David Tolnay
7a5bbfa9d4
Do not quote \" and \' unnecessarily
2016-10-08 10:48:13 -07:00
David Tolnay
58d19ba625
Merge pull request #3 from dtolnay/rep
...
Fancy repetition
2016-10-08 10:47:54 -07:00
David Tolnay
42c0e1aa68
Comment the helper macros
2016-10-07 22:15:16 -07:00
David Tolnay
0ef1f60307
Fancy repetition
2016-10-07 21:12:17 -07:00
David Tolnay
61983e2981
ToTokens for char
2016-10-07 20:17:57 -07:00
David Tolnay
be070579bc
Release 0.2.3
2016-10-03 21:15:13 -07:00
David Tolnay
62bcbf819e
Loop helpers
2016-10-03 14:22:33 -07:00
Sean Griffin
32d62268bc
Release v0.2.2
2016-10-03 16:03:45 -04:00
Sean Griffin
c96baa9604
Allow values other than vec to be used in repeaters
...
Since we were always borrowing the value before iterating over it,
repetitions essentially required `T where for<'a> &'a T: IntoIterator`,
which is pretty much only true for `Vec`. By default we now own values
passed into a repetition. `&ident` is valid as a way to retain the old
behavior, but it's also usually easy to just get a reference elsewhere
since the value must be assigned to a local variable.
2016-10-03 16:01:49 -04:00
David Tolnay
838fe58540
Release 0.2.1
2016-10-01 22:42:11 -07:00
David Tolnay
b1d1395dd8
ToTokens for Box<T>
2016-10-01 22:41:42 -07:00
David Tolnay
b11167d499
Release 0.2.0
2016-09-27 09:50:55 -07:00
David Tolnay
7e048938ea
Include type information when quoting numbers
2016-09-27 09:49:59 -07:00
David Tolnay
b31e2bb26d
Release 0.1.4
2016-09-20 08:12:05 -07:00
David Tolnay
0bdb9e41f0
Merge pull request #1 from hauleth/patch-1
...
Allow cloning `Tokens`
2016-09-20 08:11:23 -07:00
Łukasz Jan Niemier
dfca2e6f12
Allow cloning Tokens
2016-09-18 20:42:37 +02:00
David Tolnay
306a936d98
Release 0.1.3
2016-09-12 00:26:42 -07:00
David Tolnay
c530fc84f2
Add ByteStr token
2016-09-12 00:25:57 -07:00
David Tolnay
5bc880f54c
Release 0.1.2
2016-09-11 17:41:37 -07:00
David Tolnay
ac5c16c48f
ToTokens for String
2016-09-11 17:31:03 -07:00
David Tolnay
d6841e1799
Handle outer attributes
2016-09-11 17:30:51 -07:00
David Tolnay
797b675edf
Add documentation link
2016-09-07 08:49:07 -07:00
David Tolnay
75472a6422
Add Travis build
2016-09-07 08:40:22 -07:00
David Tolnay
f8bec5af7a
Release 0.1.1
2016-09-04 13:29:11 -07:00
David Tolnay
21d0539fcf
Add append_separated
2016-09-04 13:28:30 -07:00
David Tolnay
5232bc9bb8
Cargo metadata
2016-09-02 22:41:45 -07:00
David Tolnay
1a2f463919
quote!
2016-09-02 22:37:51 -07:00