Commit Graph
118 Commits
Author SHA1 Message Date
Arend van Beelen jr 94efd6d423 Improve handling of enum variants 2021-08-04 09:25:54 +02:00
Arend van Beelen jr 82bf167f5b Fix handling of wrapper types 2021-08-04 09:25:00 +02:00
Arend van Beelen jr b827f4613c Make sure dependencies in generics are tracked properly 2021-08-04 09:24:13 +02:00
Arend van Beelen jr 37fc2ed1dd Nested generics 2021-08-04 09:23:50 +02:00
Arend van Beelen jr e5d33e5256 Implement support for optional Options 2021-08-04 09:23:32 +02:00
Arend van Beelen jr 48947be0e3 Implement basic generics 2021-08-04 09:21:45 +02:00
NyxCode ddd4615225 Merge pull request #15 from arendjr/Implement-internally-tagged-unions-with-subtypes 2021-07-29 19:07:13 +02:00
NyxCode 247b65b32b Merge pull request #19 from arendjr/Optional-options-II 2021-07-29 19:05:29 +02:00
NyxCode 2b630a97dc Merge pull request #12 from Heliozoa/main
Add support for serde attributes skip and default
2021-06-30 15:10:00 +02:00
NyxCode 6df22256cc Merge pull request #21 from arendjr/Sort-imports
Sort imports
2021-06-30 15:05:06 +02:00
Arend van Beelen jr 45d32e231f Sort imports 2021-06-30 11:21:58 +02:00
Arend van Beelen jr abf07b186d Correctly track dependencies for internally tagged unions 2021-06-29 14:16:25 +02:00
Arend van Beelen jr e0eecd42b2 Code tweak 2021-06-29 12:06:36 +02:00
Arend van Beelen jr 2446ed7a5a Implement support for optional Options 2021-06-29 12:06:17 +02:00
Heliozoa 1e387f4fee updated readme 2021-06-21 18:39:39 +03:00
Arend van Beelen jr 9b48c8c9c6 Implement internally tagged unions with subtypes 2021-06-21 17:17:58 +02:00
NyxCode 55e32b9087 Merge pull request #13 from arendjr/Implement-inline-tagged-unions
Implement internally tagged unions
2021-06-21 17:10:14 +02:00
Arend van Beelen jr e455a84f22 Add test (and improve generated indentation) 2021-06-21 16:39:57 +02:00
Arend van Beelen jr 87d9bc74a5 Implement inline tagged unions 2021-06-21 14:33:45 +02:00
Heliozoa 5d2ee99fd9 add support for serde attributes skip and default 2021-05-28 13:45:52 +03:00
NyxCode ad25d8b598 Merge pull request #11 from Aleph-Alpha/support-declare
Support declare
2021-05-03 11:34:51 +02:00
Moritz Bischof 9e9428ceff fix readme 2021-05-03 13:33:15 +02:00
NyxCode 0e0743f356 Update README.md 2021-05-03 11:28:09 +02:00
Moritz Bischof a4d478f69a update readme 2021-05-03 13:21:44 +02:00
Moritz Bischof ad2204ae79 prepare for 3.0 release 2021-05-03 13:16:51 +02:00
Moritz Bischof 6aec81be71 run rustfmt 2021-05-02 02:58:07 +02:00
Moritz Bischof d25bb44650 update README.md 2021-05-02 02:57:32 +02:00
Moritz Bischof f7775905a0 update example 2021-05-02 02:57:24 +02:00
Moritz Bischof d559385eaf update documentation 2021-05-02 02:57:16 +02:00
Moritz Bischof 39d4f0a6a1 add (declare) functionality to export! 2021-05-02 02:57:02 +02:00
Moritz Bischof 49413b0678 adjust tests 2021-05-02 02:56:34 +02:00
Moritz Bischof 370cee753f don't include export in TS::decl 2021-05-02 02:56:20 +02:00
Moritz Bischof a79a6c03ed implement TS for usize and isize 2021-05-01 16:40:14 +02:00
Moritz Bischof 8462b46362 format export! output 2021-04-06 11:12:54 +02:00
Moritz Bischof 6209eabe27 update tests 2021-04-06 10:25:33 +02:00
Moritz Bischof 3c536e44a7 format & publish 2.3 2021-04-06 09:11:30 +02:00
Moritz Bischof 1feb487270 Merge remote-tracking branch 'origin/main' into main 2021-04-06 09:07:13 +02:00
NyxCode b591598e11 Merge pull request #4 from DusterTheFirst/main
More default derives
2021-04-06 09:06:43 +02:00
Moritz Bischof 3f8cf46cdb dont add newline after enum variants 2021-04-06 08:49:56 +02:00
Zachary Kohnen 24ad768dce more default derives 2021-04-05 17:56:39 -04:00
Moritz Bischof 81e7f7fae8 avoid &String 2021-01-22 14:19:46 +01:00
Moritz Bischof a2838a8a06 format 2021-01-22 14:14:34 +01:00
NyxCode 7520c245d5 Merge pull request #3 from Conder-Systems/main
Stateful Enum and Serde support
2021-01-22 14:13:06 +01:00
Jeremy Drouillard c735043c86 Update serde compatability documentation 2021-01-21 13:21:03 -08:00
Jeremy Drouillard 6bbe0ddf9f Serde is a dev dependency
It is only used for tests.
2021-01-21 13:18:14 -08:00
Jeremy Drouillard a1ca1724d9 Rename enum test to union serde 2021-01-21 13:15:20 -08:00
Jeremy Drouillard 4577033942 Remove serde compat flags 2021-01-21 13:14:33 -08:00
Jeremy Drouillard f443705876 Update readme to indicate enum support 2021-01-21 13:07:00 -08:00
Jeremy Drouillard 593413c1eb Allow untagged enums 2021-01-21 13:02:03 -08:00
Jeremy Drouillard 897f92ff7d Refactor enum impl to reuse type_def
This also enables referencing existing types in typescript unions
2021-01-21 12:36:53 -08:00