Commit Graph
343 Commits
Author SHA1 Message Date
Gustavo d8fa31d2cf Fix bug introduced in #184 2024-01-22 08:37:38 -03:00
Moritz Bischof 7402826ff2 bump to 7.1.1 2024-01-19 11:18:03 +01:00
NyxCode 780561b79b Merge pull request #191 from stegaBOB/stegaBOB/fix/quiet-serde-feature
Fix: rename remaining quiet serde feature uses
2024-01-19 11:17:17 +01:00
Sammy Harris a60de918fc fix: rename remaining quiet-serde references 2024-01-18 19:43:06 -05:00
NyxCode 7e54da2126 Merge pull request #190 from Aleph-Alpha/ignore-serde-attributes-when-skipped
Ignore serde attributes when #[ts(skip)] is present
2024-01-11 05:19:59 +01:00
Moritz Bischof 4df0ffbd1b format, fix linter warnings 2024-01-11 05:17:34 +01:00
Moritz Bischof e545a3a11e do not parse serde attributes when #[ts(skip)] is present 2024-01-11 05:15:27 +01:00
Moritz Bischof 89235eedc9 bump version to 7.1 2024-01-11 04:53:11 +01:00
NyxCode 618a164b71 Merge pull request #172 from KronsyC/main
Feat: Added Result<T, E> support
2024-01-11 04:44:53 +01:00
NyxCode e0ded364df Merge pull request #189 from Aleph-Alpha/no-serde-warnings
disable serde warnings: rename quit-serde to no-serde-warnings, add docs
2024-01-11 04:40:59 +01:00
Moritz Bischof 3a79cea8c3 rename quit-serde to no-serde-warnings, add docs 2024-01-11 04:38:15 +01:00
NyxCode 9657feb72c Merge pull request #185 from escritorio-gustavo/quiet-serde
Add `quiet-serde` feature flag
2024-01-11 04:33:14 +01:00
NyxCode fdeb5a0f00 Merge pull request #184 from escritorio-gustavo/patch-1
Make sure that `rename_all = "camelCase"` works like in serde
2024-01-11 04:28:07 +01:00
escritorio-gustavo f334bcf7bc Merge branch 'Aleph-Alpha:main' into patch-1 2023-12-21 16:40:50 -03:00
escritorio-gustavo 37642a3e8f Merge branch 'Aleph-Alpha:main' into quiet-serde 2023-12-21 16:30:42 -03:00
Gustavo 71783fdfa7 Allow print_warning to be unused as the #![deny(unused)] attribute in lib.rs was causing a compile error when using quiet_serde 2023-12-21 16:28:35 -03:00
Gustavo 9563d5dfe7 Prevent warnings from parse_serde_attrs when using quiet-serde feature 2023-12-21 16:28:24 -03:00
Gustavo 835a2cbbed Add quiet-serdefeature 2023-12-21 16:27:55 -03:00
Gustavo 96ebbb4cd5 Make PascalCase and camelCase behave like in serde 2023-12-21 15:39:09 -03:00
Gustavo 778f4d0351 Make clippy happy 2023-12-21 15:38:44 -03:00
NyxCode e4189a23e1 Merge pull request #183 from escritorio-gustavo/patch-1
Implement TS trait for slices
2023-12-12 17:11:21 +01:00
Gustavo 230ab6bb06 Accidentally removed TypeReference from use
I have no idea how the Rust compiler didn't warn me about this
2023-12-12 11:43:27 -03:00
Gustavo cee7b24447 Merge branch 'patch-1' of github.com:escritorio-gustavo/ts-rs into patch-1 2023-12-12 11:30:06 -03:00
Gustavo 7cd77183a2 Revert version bump 2023-12-12 11:29:10 -03:00
escritorio-gustavo 793aed347d Merge branch 'main' into patch-1 2023-12-12 11:26:36 -03:00
NyxCode 067c3f576c Merge pull request #180 from timephy/main
Added `serde(skip)` functionality inside Enum Variants
2023-12-12 15:21:59 +01:00
Gustavo e86be7a2c2 Add tests 2023-12-12 11:21:13 -03:00
NyxCode 0fb6094211 Merge pull request #181 from aatukaj/borrow-type-args
fix: Include borrowed types' type arguments in typescript
2023-12-12 15:15:07 +01:00
Gustavo 53ac28eb37 Merge branch 'main' into patch-1 2023-12-12 11:11:26 -03:00
Gustavo 6972225d4e Bump version of macro crate dependecy 2023-12-12 11:11:01 -03:00
Gustavo 8f1a58a134 Add slice support to derive macro 2023-12-12 11:09:00 -03:00
Gustavo b7de8cfff2 Add slice support for derive macro 2023-12-12 11:06:44 -03:00
escritorio-gustavo 214e92bc3f Update Cargo.toml - Minor version bump 2023-12-12 10:32:55 -03:00
escritorio-gustavo 0a41910112 impl TS on slices
Allows for structs for deriving `TS` on structs with a field of type `Box<[T]>`
2023-12-12 10:25:44 -03:00
darthturska 9f38240017 fix: Include borrowed type's type arguments in typescript 2023-12-10 15:00:35 +02:00
Tim Guggenmos 5fbc845f3a added tests for named enum variants as well 2023-11-29 22:11:09 +01:00
Tim Guggenmos 6e65117d4c add support for serde(skip) on enum newtype variants 2023-11-29 21:46:04 +01:00
Samir Bioud a5c510ae39 Addressed issues mentioned by axos88 2023-11-11 12:20:50 +00:00
Samir Bioud 029f7f6ccd Feat: Added Result<T, E> support 2023-10-11 10:55:37 +01:00
NyxCode c4bee20eb1 Merge pull request #164 from Heliozoa/unit-null
Check for empty tuple in `format_type`
2023-08-16 12:10:21 +02:00
Heliozoa 95b455f585 Check for empty tuple in format_type 2023-08-15 09:51:46 +03:00
Moritz 5f21492428 update documentation 2023-08-08 11:23:07 +02:00
NyxCode c5e8eb9001 Merge pull request #127 from Heliozoa/override
Use type overrides for newtype enum variants in internal and adjacent representations
2023-08-08 11:08:11 +02:00
Heliozoa 0a2cf24748 Fix warning for unused dep 2023-08-08 05:48:42 +03:00
Heliozoa e680d2f7d7 Add missing cfg to test 2023-08-08 05:43:09 +03:00
Heliozoa 04396c14bd Improve test 2023-08-08 05:38:14 +03:00
Heliozoa 36e3e7f943 Merge remote-tracking branch 'origin/main' into override 2023-08-08 05:34:21 +03:00
Moritz 837bc44df2 add test for issue #80 2023-08-07 15:18:54 +02:00
NyxCode 307caea9a0 Merge pull request #161 from Aleph-Alpha/better-units
properly implement all 3 unit types
2023-08-07 14:56:05 +02:00
Moritz 8b72938abe properly implement all 3 unit types 2023-08-07 14:51:55 +02:00