Commit graph

30 commits

Author SHA1 Message Date
naskya
a8a899a61e
chore (backend-rs, macro-rs): generate document from error messages 2024-07-17 08:27:36 +09:00
naskya
d9358c4020
test (backend-rs): make ts_exported functions testable 2024-07-16 08:50:30 +09:00
naskya
f5fc03698b
meta (backend-rs, macro-rs): set Rust version and edition in root 2024-07-09 18:36:45 +09:00
naskya
2f12da683d
meta: clarify the licenses
Note that the only authors of packages/macro-rs are @naskya and @sup39
at this moment, and they are agreed upon this change.

Also note that packages/firefish-js is forked from
https://github.com/misskey-dev/misskey.js
which is licensed under the MIT License.

Co-authored-by: sup39 <dev@sup39.dev>
2024-07-09 18:33:41 +09:00
naskya
db0ca693c6
docs (backend-rs): minor updates 2024-07-06 02:04:24 +09:00
naskya
e60db9e254
chore (macros-impl): add linebreaks to napi error reason 2024-06-12 19:43:52 +09:00
naskya
e6735519df
chore (macros-impl): allow clippy::items_after_test_module 2024-06-12 03:50:40 +09:00
naskya
7db7fdaabe
chore: format 2024-06-12 03:37:01 +09:00
sup39
0cb4fbf6b4
refactor: macro-rs -> macros + macros_impl
Co-authored-by: naskya <m@naskya.net>
2024-06-12 00:53:51 +08:00
naskya
1cc24b9c25
feature (backend-rs, macro-rs): prittify error outputs for napi export
Co-authored-by: sup39 <dev@sup39.dev>
2024-06-11 20:16:29 +09:00
naskya
7644e3b690
fix (macro-rs): fix doctest 2024-06-07 22:25:09 +09:00
naskya
0839fe27b2
refactor (backend-rs): save nodeinfo cache directly 2024-06-07 22:21:53 +09:00
naskya
23c8636129
chore (backend-rs, macro-rs): fix comment style 2024-06-01 02:23:58 +09:00
naskya
a2555fc65d
chore: minimize Rust dependencies
It is unclear if this is worth the effort to manage
(so this may be reverted later) but at least it seems
we could remove a bunch of lines from the lockfile
by removing unused feature flags.
2024-05-30 19:27:05 +09:00
naskya
890ca846d0
chore (backend-rs): documents, organize exports, typo fixes 2024-05-30 07:07:01 +09:00
naskya
576a3752b9
chore (macro-rs): add comments 2024-05-28 18:03:26 +09:00
naskya
cf33b5db03
chore (macro-rs): address FIXME 2024-05-28 17:22:29 +09:00
naskya
1f082bfb56
chore (macro-rs): ts_only_warn -> ts_export 2024-05-21 16:12:11 +09:00
sup39
2a8193fa6c
meta: macro_rs -> macro-rs 2024-05-18 17:39:45 +08:00
sup39
ada5ff7e75
refactor (backend-rs): read version from package.json at compile time 2024-05-18 17:39:17 +08:00
naskya
95fd20a46f
feat (macro-rs): add ts_only_warn macro 2024-05-10 06:54:26 +09:00
naskya
e2cd25ea4f
refactor (backend): port config loader to backend-rs
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 14:25:27 +09:00
sup39
3e32fc7b04
feat (macro-rs): add macro_rs::export macro
Co-authored-by: naskya <m@naskya.net>
2024-04-12 12:28:27 +09:00
sup39
9592b88e52
feat (macro-rs): set use_nullable = true for object and constructor by default 2024-04-12 11:54:21 +09:00
sup39
186919aac3
feat (macro-rs): handle macro attr 2024-04-12 05:20:41 +09:00
sup39
2ba60a3b40
feat (macro-rs): convert &[T] to Vec<T> 2024-04-12 05:20:02 +09:00
sup39
b6b07d562c
feat (macro-rs): handle async fn 2024-04-12 05:19:39 +09:00
sup39
c231bf43cb
feat (macro-rs): convert Result<T, E> return type to napi::Result<T> 2024-04-12 05:19:26 +09:00
sup39
5d2238a266
fix (macro-rs): use cfg instead of cfg_attr 2024-04-12 05:18:14 +09:00
sup39
8b6e300d4e
feat (macro-rs): create macro_rs::napi macro 2024-04-12 05:17:02 +09:00