Commit graph

122 commits

Author SHA1 Message Date
3326217058
feat(python): better struct access
Co-authored-by: alemi <me@alemi.dev>
2024-10-16 02:49:54 +02:00
8f94b29925 feat: optimize release build for smaller size 2024-10-12 22:30:05 +02:00
51cff040ed chore: unpin jni toolbox 2024-10-10 12:52:25 +02:00
d544d0a035
chore: bump versions for release 2024-10-01 19:49:11 +02:00
03039a97a1
chore: bump for 0.7.2 2024-09-26 02:43:18 +02:00
79f063123e
chore: bump version 2024-09-25 22:56:37 +02:00
5004620da1
ci: run on PRs since its needed to merge 2024-09-25 06:10:18 +02:00
3f2f98a9f2
Merge pull request #18 from hexedtech/feat/jni-toolbox
feat: use jni-toolbox for glue
2024-09-25 00:56:37 +02:00
a5f1f1f752
chore: use released version 2024-09-24 23:48:44 +02:00
678f8bd9ea
chore: updated jni-toolbox usage 2024-09-23 18:12:13 +02:00
cschen
221a46dc16
Merge pull request #15 from hexedtech/docs/tests 2024-09-22 16:16:40 +02:00
7056dc341c
feat: add jni-toolbox, convert client 2024-09-22 02:22:51 +02:00
69171e73b3
docs: re-enable and fix doc tests 2024-09-21 11:52:46 +02:00
cschen
f6c0b878cb feat: add specific feature flag to specify building python without abi.
This is needed because if we want to ship to sublime, having the `pyo3/abi-*`
feature enabled will result in a wheel that needs the `python3.dll` (f****g windows)
which sublime does not ship. This works fine for Linux and Mac Os, but
for windows we will need to build without abi and for Python3.8 directly
for sublime specifically and also with the abi for the generic python wheel to be
used everywhere else.
2024-09-19 21:32:46 +02:00
5a8b4ae800
chore: bump versions, fix docs 2024-09-18 16:11:12 +02:00
f5f0a7edf1
chore: bump dependencies
we were still on tokio 1.0???? waow
2024-09-17 21:54:26 +02:00
cd1fc21df7
feat(lua): alternative getters, annotations
also cleaned up features a bit and updated annotations
oh and run CI too once
2024-09-16 18:24:24 +02:00
ac94fb86fd
chore: rename feature to py for consistency 2024-09-13 22:21:53 +02:00
c0b8906043
chore: move ffi infos in root mod
because i actually dont want docs.rs to build with ffi flags anymore:
docs get "littered" with napi auto methods and pyo3 stuff, which is
annoying and needless noise when reading the doc. I would much rather
only have relevant stuff, to not make doc consumers hop around guessing
what is relevant and what not
2024-09-13 12:04:27 +02:00
0e6f7caec3
chore: bump beta version, publish
one-off to remake docs and have a reference. fast track for config
2024-09-11 18:11:20 +02:00
94e52a86f4
docs: fix features for docs.rs 2024-09-11 17:51:09 +02:00
02f8f0c0a9
fix: broken manifest, cant have dep and / 2024-09-11 15:50:33 +02:00
e91a504588
feat: add serialize feature for api structs 2024-09-11 15:45:35 +02:00
e05e273ee2
fix(lua): use patched crate by us, add features
basically upstream lua pushed a change making `send` and `module`
features incompatible, which is not ok for us as we need the LuaFunction
to be sync to send it on the channel. Also added features for all lua
versions, it's a bit messy on the Cargo.toml but now we support really
all lua versions and can probably publish on luarocks
2024-09-10 12:12:59 +02:00
675a8091e2
ci(rust): test rust ci 2024-09-10 03:39:36 +02:00
b968945a37
chore: codemp.dev -> code.mp 2024-09-07 22:10:47 +02:00
cschen
c1c9902b45 feat(python): switched to abi3 mode to allow multiple python versions with single wheel.
abi3 does not support `PyFunction` so added workaround checking for `is_callable()`
2024-09-06 00:24:37 +02:00
e946ee195b
fix: async-trait disabled by default
provides better docs and it should be rare to need Box<dyn Controller>
anyway, also Sync + Send is explicitly added so should be fine
2024-09-06 00:13:17 +02:00
04e021f964
feat: don't use async-trait for api::Controller
make it still available via feature `async-trait` if it is necessary to
use auto traits downstream, however documentation should now be more
readable
2024-09-05 23:27:57 +02:00
a5a3bc91fe
chore: add repository url to cargo toml 2024-09-05 06:22:49 +02:00
b8376a5ef8
fix: moved import, exclude dist from packaging 2024-09-05 03:28:46 +02:00
9a29347d87
chore: version with dot 2024-09-05 03:18:23 +02:00
1fac27ebd5
fix(lua): use last published beta rather than git 2024-09-05 03:18:06 +02:00
e8d2c7352b
fix: use codemp proto from crates.io 2024-09-05 03:10:32 +02:00
0e398dcd92
chore: cargo lock and metadata 2024-09-05 03:09:45 +02:00
4ff0c5286c
ci: build with all features on docs.rs 2024-09-05 03:05:22 +02:00
8296b473bb
feat(lua): introduce callbacks channel
this means that lua must poll but at least they run on main thread and
dont segfault the main process
2024-09-01 03:13:03 +02:00
7fc25cd332
chore: bump crate version, lock proto version 2024-08-28 15:30:25 +02:00
c3b22a63f1
fix: proto bump 2024-08-27 21:24:05 +02:00
d7e9003c26
chore: new proto, new tonic 2024-08-27 21:24:04 +02:00
cschen
c0e090fe7a Merge branch 'dev' into pyo3_bump 2024-08-21 15:05:17 +02:00
cschen
e7272753e6 Merge branch 'dev' into pyo3_bump 2024-08-21 15:03:10 +02:00
417e6928cf
ci: build with each feature, not all 2024-08-17 18:38:37 +02:00
fdcfc611b1
feat(lua): hand rolled a_sync! to the rescue 2024-08-17 00:06:57 +02:00
cschen
ef2285d0f3 Merge branch 'dev' into pyo3_bump 2024-08-16 16:50:55 +02:00
cschen
610576f8b7 feat: Bumping to pyo3 0.22, removing pyo3-asyncio, moving code around to allow for
smoother pyo3 aggregation.
2024-08-16 12:58:43 +02:00
79f132236f
feat(lua): impl all methods, add callback
this uses mlua beta but whatev api is so much better
2024-08-15 22:19:08 +02:00
a9d713fd75
feat: async try_recv, delta_request
Co-authored-by: alemi <me@alemi.dev>
2024-08-14 00:24:32 +02:00
6e33339fa9
fix: lua off 2024-08-13 17:59:58 +02:00
cschen
9acb7b6007 wip: Some attempts at getting DT to work with buffer controller and buffer worker!
This attempt doesn't use a ref to the crdt! But uses an extra channel!
2024-08-13 00:36:09 +02:00