a7c0b6881e
fix: don't unsafely clone env
...
was safe but better no unsafe at all
2024-09-24 03:14:45 +02:00
ef9237b74a
docs: simplify a bit example expansion
...
remove recursive macro expansions basically
2024-09-24 02:52:36 +02:00
3d3bc8b6d5
test: vecs, options, nulls, also build with gradle
2024-09-24 02:29:31 +02:00
218a816c2d
ci: build test lib
2024-09-24 02:01:37 +02:00
b61165c1f5
ci: run tests on any branch
2024-09-24 01:59:30 +02:00
a1f9e8dfc1
test: add simple tests on java side
2024-09-24 01:58:10 +02:00
10547d92b0
chore: temp relative dep to use this from git
...
TODO change it back before publishing
2024-09-23 18:08:43 +02:00
8e53c475c2
docs: updated readme
2024-09-23 18:02:27 +02:00
0580422abf
chore: add uuid feature
2024-09-23 18:00:31 +02:00
5e69eca9d6
feat: simplify IntoJava family
...
basically it's all IntoJava, but there's another trait layer,
IntoJavaObject, which downstream library users should implement. Every
IntoJavaObject automatically implements IntoJava too
2024-09-23 17:59:31 +02:00
50be86d2a4
chore: split down main lib file with traits
2024-09-23 14:46:45 +02:00
6f424dadf7
docs: updated README, minimal rustdocs
2024-09-23 00:50:52 +02:00
d6c0aa2f9e
feat: working but questionable intermediate trait implementation
2024-09-23 00:23:42 +02:00
521fc36093
feat: intermediate trait between objects and primitives
2024-09-22 20:40:13 +02:00
a12c26328c
feat: tentative Vec<T> impl for objects
2024-09-22 18:53:39 +02:00
66e810015e
feat: added uuid feature
2024-09-22 16:41:11 +02:00
006d76eea9
feat: builtin conversions for &str as well
2024-09-22 16:16:42 +02:00
78b57d6e58
ci: added simple ci, improved readme
2024-09-22 02:12:04 +02:00
cfa0794024
chore: update lockfile
2024-09-22 02:05:38 +02:00
24dc4ef51b
docs: more examples
2024-09-22 02:03:21 +02:00
62c4081694
chore: retab readme
2024-09-22 01:57:39 +02:00
561279d1dd
chore: bump versions
2024-09-22 01:56:11 +02:00
6dc3bd3f43
docs: updated readme
2024-09-22 01:54:26 +02:00
1d00db2648
fix: return type void in result
2024-09-22 01:37:28 +02:00
3a09386878
feat: auto from/into impls, blanket Option<> impl
2024-09-22 01:37:03 +02:00
95eb528549
feat: automatic FromJava conversions
2024-09-22 00:09:46 +02:00
4daaad5faf
feat: allow skipping env/class in args
...
also removed a bit of clones but added more...
2024-09-21 23:03:02 +02:00
e855659e1a
chore: refactored macro more
2024-09-21 20:46:48 +02:00
f136071c10
feat: JniToolboxError trait also for JniError
2024-09-21 20:15:04 +02:00
8f272bd905
chore: refactored macro a bit
2024-09-21 20:14:51 +02:00
4d511bbcb3
fix: bump also outer crate
2024-09-21 18:50:09 +02:00
0208c500ec
chore: bump versions
2024-09-21 18:49:22 +02:00
19ebaddd6d
feat: impl JniToolboxError, allow returning ptr
2024-09-21 18:48:30 +02:00
f37c1ed7ae
fix: bump version
2024-09-21 18:08:58 +02:00
d3da081886
fix: handle mut modifier in arguments
2024-09-21 18:08:19 +02:00
f00b8dc398
chore: update lockfile
2024-09-21 17:58:45 +02:00
3bd3addc64
fix: use raw exception class path
2024-09-21 17:58:33 +02:00
93f633bad1
chore: lock macro dependency
...
annoying...
2024-09-21 17:57:10 +02:00
5f3bf6700a
chore: add license file
2024-09-21 17:55:37 +02:00
4ee1ae20d6
docs: updated readme
2024-09-21 17:55:13 +02:00
3ccb610dd5
feat: throw exception, allow specifying custom ones
2024-09-21 17:52:30 +02:00
c044fff422
chore: made a jni-toolbox wrapper crate
2024-09-21 17:52:20 +02:00
5e560d2f3d
feat: return compiler errors, throw java err
...
no more random panicing
2024-09-21 17:37:13 +02:00
1f0bb05ab0
docs: added README
2024-09-21 17:09:06 +02:00
62786827d2
feat: initial implementation
...
it panics way too much and its probably quite flaky, but it is usable if
you take care
2024-09-21 17:01:00 +02:00
af73c1e14a
chore: setup project
2024-09-21 17:00:54 +02:00