chuan
95fdcbeefd
Remove JNI support and related files
...
- Deleted the JNI module and all associated files, including callbacks, env, exports, server, and types.
- Updated Cargo.toml to remove the jni dependency and related features.
- Removed JNI-related sections from README.md and CHANGELOG.md.
- Adjusted the GitHub Actions workflow by removing the Rust CI configuration.
2026-08-05 22:09:58 +08:00
桥下红药 and GitHub
571472d16f
Merge pull request #4 from 0xddy/codex/release-0.2.1-20260730
...
Rust / Test on macos-latest (push) Has been cancelled
Rust / Test on windows-latest (push) Has been cancelled
Rust / Test Features (jni) (push) Has been cancelled
Rust / Test Features (metrics) (push) Has been cancelled
Rust / Test Features (mimalloc) (push) Has been cancelled
Rust / Test Features (mimalloc,metrics) (push) Has been cancelled
Rust / Test on ubuntu-latest (push) Has been cancelled
Rust / Test Features () (push) Has been cancelled
chore: prepare 0.2.1 release
2026-07-30 14:40:55 +08:00
桥下红药
47eca76973
chore: prepare 0.2.1 release
2026-07-30 14:37:22 +08:00
桥下红药 and GitHub
fe09713e6b
Merge pull request #3 from 0xddy/codex/jni-boundary-cleanup-20260730
...
fix: harden JNI boundary and remove legacy example
2026-07-30 14:32:07 +08:00
桥下红药
e9d383f64d
fix: harden JNI boundary and remove legacy example
2026-07-30 14:26:10 +08:00
桥下红药 and GitHub
24a1552bf8
Merge pull request #2 from 0xddy/codex/rewrite-developer-readme
...
docs: rewrite developer README
2026-07-30 13:56:15 +08:00
桥下红药
a1399ef742
docs: rewrite developer README
2026-07-30 13:55:25 +08:00
桥下红药
fdf474f781
feat: improve metadata peer discovery
2026-07-25 01:53:04 +08:00
桥下红药
7c79bff593
feat: 重构 DHT 爬取与可观测性
2026-07-19 15:26:04 +08:00
桥下红药
bcc166c53b
fix(jni): stopServer 改为后台线程释放 Runtime,避免阻塞 JNI 调用线程
...
- 新增 take_handle: 转移 ServerHandle 所有权,替代 handle_ref+destroy_handle 两步调用
- 新增 shutdown_and_destroy_in_background: 先发关闭信号,再将整个 ServerHandle(含 tokio Runtime)移入专用后台线程 drop,避免 Runtime::drop 阻塞调用 stopServer 的 Java 线程
- jni_shutdown_and_release 改用 take_handle + shutdown_and_destroy_in_background
- 保留 stop/destroy_handle 供扩展,标注 #[allow(dead_code)] 并补充注释
Made-with: Cursor
2026-03-14 14:42:23 +08:00
桥下红药
e4740f5fff
feat(jni): onMetadataFetch, stop=shutdown+release, DhtCrawler OO API
...
- JNI: register on_metadata_fetch -> DhtListener.onMetadataFetch
- stopServer only: shutdown + destroy (remove destroyServer)
- Java: DhtCrawler.createServer/start/stop, package-private DhtCrawlerJni
- gitignore examples-jni build/.gradle
Made-with: Cursor
2026-03-13 19:48:46 +08:00
桥下红药
2746791205
fix: 移除 MUSL 构建、Windows 用 PowerShell 打包、JNI 未使用代码去警告
...
Made-with: Cursor
2026-03-13 03:01:16 +08:00
桥下红药
b1bc2bedbe
ci: Windows GNU 原生构建、CI 用 gradlew、Shadow 升级 9.0.2
...
Made-with: Cursor
2026-03-13 02:51:54 +08:00
桥下红药
316a98a939
fix(jni): 使用 com.gradleup.shadow 并添加 Gradle Wrapper 便于本机构建
...
Made-with: Cursor
2026-03-13 02:44:58 +08:00
桥下红药
1eae4a8dbb
fix(ci): 升级 Shadow 插件至 8.3.10 以兼容 Gradle 9
...
Made-with: Cursor
2026-03-13 02:38:13 +08:00
桥下红药
b32abf8408
ci: 构建时加 --lib 以产出 JNI cdylib (libdht_crawler.so)
...
Made-with: Cursor
2026-03-13 02:33:44 +08:00
桥下红药
3b433529c5
ci: Java JAR 构建使用 JDK 17,满足 Gradle 9.x 要求
...
Made-with: Cursor
2026-03-13 02:31:46 +08:00
桥下红药
b011800b1d
refactor: 将 JNI Java 示例从 jni/java 移至根目录 examples-jni
...
- 将 jni/java/ 整体迁移到 examples-jni/
- 更新 release.yml 中 JAR 构建路径为 examples-jni
- 更新 build.gradle 默认 lib.path 为 ../target/release
- 更新 README 与示例注释中的路径说明
Made-with: Cursor
2026-03-13 02:24:25 +08:00
桥下红药
6e7c6f02e4
jni
2026-03-13 02:15:50 +08:00
桥下红药
2ab9103e5b
性能优化
2026-03-12 21:43:18 +08:00
桥下红药
76c1998ed9
update
2026-03-12 21:26:37 +08:00
桥下红药 and GitHub
6cbeeb9c08
Merge pull request #1 from drHuangMHT/socket-provider
...
feat: allow binding of multiple addresses(WIP)
2026-02-13 18:06:40 +08:00
drHuangMHT
9e73344bab
naming and code organization
2026-02-04 22:08:39 +08:00
drHuangMHT
62fc1bc752
allow binding of multiple addresses
2026-02-04 21:01:45 +08:00
桥下红药
f7e44114c0
update
2026-01-27 22:55:20 +08:00
桥下红药
ded86baf13
update
2026-01-18 23:31:43 +08:00
桥下红药 and GitHub
3e53636e37
Update README.md
2026-01-18 23:31:23 +08:00
桥下红药
0e00aa9dae
update
2026-01-18 23:08:41 +08:00
桥下红药
8b1cb201cb
update
2026-01-18 23:01:34 +08:00
桥下红药
ddb7e3c64f
update Cargo.toml
2026-01-18 22:59:17 +08:00
桥下红药
ec8acbc5e7
修复示例cross编译aws-lc-sys的BUG问题
2026-01-18 22:55:45 +08:00
桥下红药
d38cb835d4
优化部分语法警告
2026-01-18 17:33:29 +08:00
桥下红药
e89f814895
优化引入和文档
2026-01-18 17:00:10 +08:00
桥下红药
60f79f7487
更新统计埋点
2026-01-18 15:16:17 +08:00
桥下红药
2b7542c09d
修复优雅关闭
2026-01-17 19:57:21 +08:00
桥下红药
f41c45a36b
优化内存泄露
2026-01-17 19:06:05 +08:00
桥下红药
217a934980
删除注释,优化部分clone使用
2026-01-17 18:22:36 +08:00
桥下红药
ab4247a6e8
update
2026-01-17 17:27:36 +08:00
桥下红药
eeb39cf7a0
update
2026-01-17 17:27:14 +08:00
桥下红药
192dad7519
update
2026-01-17 17:25:22 +08:00
桥下红药
4dfb706073
update
2026-01-16 22:28:57 +08:00
桥下红药
c35b87cb5b
update
2026-01-16 20:46:04 +08:00
桥下红药
d839476128
update
2026-01-16 20:44:13 +08:00
桥下红药
eb8ce30154
update
2026-01-16 20:38:39 +08:00
桥下红药
c875f5b14d
update version
2026-01-16 20:32:04 +08:00
桥下红药 and GitHub
71f67a0a2b
Update README.md
2026-01-16 20:25:41 +08:00
桥下红药 and GitHub
8a1d8d16c8
Update README.md
2026-01-16 20:25:29 +08:00
桥下红药
bfe76cc632
Bump version to 0.0.2
2026-01-16 20:02:21 +08:00
桥下红药
b7458b4d21
Update README: reference examples and update build command
2026-01-16 20:00:52 +08:00
桥下红药
85121ba9f4
update
2026-01-16 19:53:51 +08:00