Commit Graph

  • 464367acea Improve the export code and index file creation. constants xazukx 2025-11-26 01:27:14 -07:00
  • 6c1f01018d Change how quotes are handled again. xazukx 2025-11-26 00:33:21 -07:00
  • 81348fcc51 Make export path checking work with single quotes. xazukx 2025-11-26 00:18:34 -07:00
  • e5a314d833 refactor: fix clippy lints (#455) main sandr01d 2025-11-05 17:57:57 +01:00
  • e4d53689aa Add environment variable to configure binding for large integers (#448) NyxCode 2025-10-17 14:12:52 +02:00
  • 57e44b103f Ignore serde(crate = ...) (#447) Gustavo Shigueo 2025-10-14 16:28:10 -03:00
  • 1dce529709 bump version, add changelog (#445) NyxCode 2025-10-14 05:06:36 +02:00
  • 9e6d9b2ea9 Fix build with format feature (#438) Gustavo Shigueo 2025-10-13 23:50:11 -03:00
  • b7d8cae2a4 Add #[ts(repr(enum)] attribute (#425) Gustavo Shigueo 2025-10-13 23:34:10 -03:00
  • e63739daa5 Add optional_fields to enum (#432) Gustavo Shigueo 2025-10-07 15:38:06 -03:00
  • 4e903909ba Add env for generating an index file. Rename other env. xazukx 2025-09-15 17:51:48 -06:00
  • cea1387999 Add an env variable to prefix the current crate name as a folder. xazukx 2025-09-15 17:09:35 -06:00
  • 754878dd63 Updated chrono Duration emitted type (#434) Rajin Braynard 2025-09-08 14:22:16 -04:00
  • 15072dbca4 Add const to default struct output xazukx 2025-09-07 03:40:51 -06:00
  • c0790c1da2 Add default constant exporting xazukx 2025-09-07 02:36:55 -06:00
  • 0480dcb964 Allow array outputs for constants. xazukx 2025-08-30 18:55:51 -06:00
  • 8251c3cf7c Replace import-esm with TS_RS_IMPORT_EXTENSION (#423) Gustavo Shigueo 2025-08-20 20:38:53 -03:00
  • f63dd5fbc4 Make rename_all compatible with tuple and unit structs as a no-op attribute (#422) Gustavo Shigueo 2025-07-08 08:28:29 -03:00
  • cd4f5754f6 Add constant renaming and traverse call exprs to find a constant. xazukx 2025-06-21 12:57:55 -06:00
  • b29d10ee28 Add ts_constant attribute to turn rust constants into typescript. xazukx 2025-06-20 17:26:27 -06:00
  • b5c8277ac9 Fix rename test use-ts-enum xazukx 2025-06-19 18:18:24 -06:00
  • 3a7ac457ea Use Record for HashMap use-record-hashmap xazukx 2025-06-10 16:32:46 -06:00
  • 9a1ca71a3f Fix bugs and ensure tests pass. xazukx 2025-06-10 16:31:07 -06:00
  • f49bbddfa6 Fix multiline import problems. xazukx 2025-06-10 16:24:57 -06:00
  • 5189006328 Test fix xazukx 2025-06-10 15:40:52 -06:00
  • 6bf1c74a77 Prevent unwrap panic xazukx 2025-06-10 15:34:14 -06:00
  • ec9a8693af Switch to Record for hashmap xazukx 2025-06-10 12:46:23 -06:00
  • c1de25aa1d Add test for a renamed variant. xazukx 2025-06-10 12:32:11 -06:00
  • 836e3606fe Update documentation for typescript enums. xazukx 2025-06-10 12:20:39 -06:00
  • b9f212886b Add ability to create native typescript enums instead of unions. xazukx 2025-06-10 12:00:10 -06:00
  • 3bd4124bd1 release v11.0.1 (#417) NyxCode 2025-06-05 07:13:17 +02:00
  • dc2892f441 fix regression: #[ts(optional)] incompatible with #[ts(type = ...)] (#416) NyxCode 2025-06-04 13:47:33 +02:00
  • a7b73a50f8 release v11.0.0 (#413) NyxCode 2025-06-03 18:00:07 +02:00
  • 6075bd1bc3 Handle serde(skip_serializing_if) + serde(default) (#393) Andrei Nesterov 2025-06-03 18:34:23 +03:00
  • 5a448a25be Allow #[ts(flatten)] for fields of type HashMap (#406) Gustavo Shigueo 2025-06-03 08:48:34 -03:00
  • 0dbaa5efab Allow arbitrary expressions in #[doc] (#411) NyxCode 2025-05-30 16:58:10 +02:00
  • 315bed8f3f Remove duplicate validation (#404) Gustavo Shigueo 2025-05-29 19:17:43 -03:00
  • 40b82771c8 Allow arbitrary expressions in #[ts(export_to)] (#399) NyxCode 2025-04-04 23:17:03 +02:00
  • f64db436e8 Allow arbitrary expressions in top-level #[ts(rename)] (#398) NyxCode 2025-04-04 20:07:41 +02:00
  • 6b234149fb Merge same path imports (#392) Gustavo Shigueo 2025-04-03 12:00:05 -03:00
  • 7b7ec40669 Handle serde fail gracefully (#389) Gustavo Shigueo 2025-04-03 11:50:10 -03:00
  • ee2240db94 Prevent naming collisions with <T as crate::TS> (#386) Gustavo Shigueo 2025-03-06 17:55:08 -03:00
  • 594fa3027a Fix top level #[ts(as = "...")] dependency list (#385) Gustavo Shigueo 2025-03-06 17:07:23 -03:00
  • ccb1b14229 remove lazy_static (#373) ValiuchenkoVladyslav 2025-02-22 10:54:49 -05:00
  • 278dd37c45 Add MSRV test to CI (#381) Gustavo Shigueo 2025-02-22 12:20:15 -03:00
  • ad0f22917e Add #[ts(optional)] to struct (#366) Gustavo Shigueo 2025-02-21 09:19:05 -03:00
  • 0ba56be43a Release v10.1 (#372) NyxCode 2024-12-01 15:49:48 +01:00
  • 64382968c5 Fix empty struct tagged enum variant (#371) Gustavo Shigueo 2024-11-25 13:24:21 -03:00
  • 93aec35cef Fix typo in docs for #[ts(rename_all_fields)] (#368) Sebastian Martinez 2024-11-13 13:23:32 +01:00
  • 0ff3c816ed Add generated type to README (#365) Gustavo Shigueo 2024-11-03 11:25:15 -03:00
  • 592898a764 Add cargo test export_bindings to README (#363) Dessalines 2024-11-03 09:11:21 -05:00
  • 4aea173270 feat: add support for tokio (#353) Joris Kleiber 2024-10-10 13:42:10 +02:00
  • 5504e9f9bf include null in serde_json::Value (#359) NyxCode 2024-10-08 13:08:07 +02:00
  • 51a7a87a54 feat(serde-json-impl): handle bool for serde_json::Value (#358) Guillaume Deconinck 2024-10-07 21:26:18 +09:00
  • a05cd36679 release v10.0 Moritz Bischof 2024-09-19 19:12:46 +02:00
  • 9763ca0195 Support #[ts(as = "...")] and #[ts(type = "...")] on enum variants (#284) escritorio-gustavo 2024-09-16 16:57:57 -03:00
  • 6651d920cb Fix smol_str-impl feature name in lib.rs Gustavo Shigueo 2024-09-07 15:13:21 -03:00
  • fb47428d23 Fix smol_str-impl feature name in test Gustavo Shigueo 2024-09-07 14:28:03 -03:00
  • 61a6d6a1fd Fix smol_str-impl feature name Gustavo Shigueo 2024-09-07 14:25:34 -03:00
  • 7577aca5d2 feature: support smol_str (#350) Corvin Paul 2024-09-07 14:44:20 +01:00
  • 78591a2831 Always use forward slash on import paths (#346) Gustavo Shigueo 2024-08-09 08:43:22 -03:00
  • 5cbc7405d8 feat: Allow multiple types to set #[ts(export_to = "...")] to the same file (#316) escritorio-gustavo 2024-08-01 18:15:19 -03:00
  • 5c3b8c9457 Fix error in internally tagged enums with flattened fields (#344) Gustavo Shigueo 2024-07-27 12:19:47 -03:00
  • 7ee0cbc570 Update CHANGELOG gustavo-shigueo 2024-07-25 15:41:25 -03:00
  • 61f1c9c663 Run cargo fmt gustavo-shigueo 2024-07-25 15:32:06 -03:00
  • e08161c790 Fix JSDoc formatting for Rust block comments (#342) Gustavo Shigueo 2024-07-25 15:20:38 -03:00
  • e268437ffd feat: add bson ObjectId impl (#340) Shaun Hamilton 2024-07-24 17:45:54 +02:00
  • 68f2f2252a Change HashMap to export mapped types (#339) Gustavo Shigueo 2024-07-05 14:47:18 -03:00
  • af15ff92d7 Allow for flattening of generic parameters (#336) NyxCode 2024-06-28 02:07:52 +02:00
  • 96487d4afa Merge pull request #331 from Aleph-Alpha/release-v9 NyxCode 2024-06-20 19:04:19 +02:00
  • c7c8ff329d Release v9.0.0 Moritz Bischof 2024-06-20 18:58:50 +02:00
  • c9615f6601 update lockfile Moritz Bischof 2024-06-20 18:56:58 +02:00
  • 743e715f8e prepare release for 9.0.0 Moritz Bischof 2024-06-20 18:54:28 +02:00
  • be0349d5fb bug: Fix issue with absolute paths (#323) escritorio-gustavo 2024-06-04 14:08:19 -03:00
  • f898578d80 Insert newline at end of generated files (#321) Luc Perkins 2024-05-22 17:59:41 -03:00
  • badbac08e6 Testing with --no-default-features didnt seem to work in CI (#319) NyxCode 2024-05-20 13:36:36 +02:00
  • 7d28c1a97a Rework dependency and generics handling (#306) NyxCode 2024-05-17 22:13:59 +02:00
  • c5109a00e4 Coerce passed type to TS before invoking ::name() (#318) Paul Tagliamonte 2024-05-17 15:50:55 -04:00
  • d122373963 Handle case where TypePath::qself is Some (#310) escritorio-gustavo 2024-04-18 09:25:01 -03:00
  • cb1314d87c Fix unqualified TS trait method calls (#309) NyxCode 2024-04-17 13:12:04 +02:00
  • 1ae414871f Track Cargo.lock files to improve CI speed (#295) escritorio-gustavo 2024-04-15 08:00:24 -03:00
  • e671a7a343 Infered types (_) in #[ts(as = "...")] (#299) escritorio-gustavo 2024-04-10 14:07:50 -03:00
  • b9a4cca637 Fix location of rename_all errors (#303) escritorio-gustavo 2024-04-09 11:15:48 -03:00
  • 8cfc3d7e05 dedup dependencies (#293) Kevin Amado 2024-04-09 07:21:05 -06:00
  • ff93760886 Support #[serde(with = "...")] for struct fields (#280) escritorio-gustavo 2024-04-09 08:45:09 -03:00
  • 1079b991b4 Fix inconsistencies with serde and add SCREAMING-KEBAB-CASE (#298) escritorio-gustavo 2024-04-09 08:07:48 -03:00
  • 17b2c297c2 Fix race condition in imports test (#302) escritorio-gustavo 2024-04-08 17:52:12 -03:00
  • c222ab0d39 Add MSRV to cargo.toml and README (#300) escritorio-gustavo 2024-04-08 15:39:20 -03:00
  • b7077f26d1 Update CHANGELOG.md escritorio-gustavo 2024-04-03 15:42:17 -03:00
  • 40360d4236 Rework attribute parsing (#290) escritorio-gustavo 2024-04-03 11:08:45 -03:00
  • 22d03fc2f0 Prevent empty Dependencies from being added to dependency_types (#291) escritorio-gustavo 2024-04-02 17:31:12 -03:00
  • c862aa6208 add support for top level as (#288) Aiden McClelland 2024-04-02 14:10:34 -06:00
  • cf450ac5d6 Fix #[ts(rename_all_fields = "...")] on enums containing tuple or unit variants (#287) escritorio-gustavo 2024-04-01 09:52:01 -03:00
  • c48dd7324f update CHANGELOG.md Moritz Bischof 2024-03-28 21:31:18 +01:00
  • 8b7762269a add support for top level type overrides (#286) Aiden McClelland 2024-03-28 14:25:07 -06:00
  • 0f6b7157e3 Merge pull request #283 from Aleph-Alpha/v8.1.0 NyxCode 2024-03-22 14:48:26 +01:00
  • 23f2219d96 update CHANGELOG.md Moritz Bischof 2024-03-22 14:45:03 +01:00
  • fdec4385da release 8.1.0 Moritz Bischof 2024-03-22 14:41:59 +01:00
  • 6f7311d523 Fix bug in enum flattening (#282) escritorio-gustavo 2024-03-22 10:30:31 -03:00
  • 88c2ae8c09 Fix generic impl (#281) Aumetra Weisman 2024-03-22 12:22:43 +01:00