Repository navigation
Commit 439f42f
authored
refactor(core): crate 统一放到 rust/crates/,删除社区命令、wasm 入口和未使用依赖 (#26)
* refactor(core): 删除社区命令、wasm 入口和未使用依赖
- 删除 community.discourse.* 七个命令、实现和 fixture,桌面端已不再调用
- lithe-core-rules 去掉 wasm 入口和 cdylib,只作为 rlib 链接进 Core
- lithe-core 删除未使用的 reqwest、rsa、sha1、shell-words、toml_edit 依赖,去掉 num-bigint-dig 专用 profile
- 修复工作区编译警告:host_failure 显式处理 BACKEND_EXITED(错误码保留,仍映射为 plugin.host.failed)、限定 forward_slash_path 的编译条件、收窄 network 重导出
- 新增 unparseable_requests_fail_without_an_id 测试
* refactor(core): crate 统一放到 rust/crates/,注释门禁覆盖全部 crate
- 六个 crate 从 rust/lithe-*/ 移到 rust/crates/<包名去掉 lithe- 前缀>/,包名不变;工作区成员改为 crates/*
- 同步更新路径引用:Cargo 路径依赖、SDK e2e 测试路径、fixture 和契约文档里的源码路径、README 目录表
- C 头文件的位置变为 rust/crates/core/include/lithe_core.h
- 注释门禁改为遍历 rust/crates/ 下的全部 crate;lithe-remote 缺 404 处公开项文档(1lck/Lithe-IDEA#1863),暂时只跳过它的 missing_docs,链接检查照常进行
- 为 lithe-git-host、lithe-ide-host 的公开项补齐文档,把 log-exempt 注释改成英文
- search_index 测试的权限写成八进制 0o000,修复 clippy 的 deny 级 lint1 parent f113e9e commit 439f42f
443 files changed
Lines changed: 602 additions & 2325 deletions
File tree
- rust
- contracts
- ide-api
- crates
- ai
- src
- core-rules
- src
- editor
- keymap
- workbench
- tests
- core
- include
- src
- action_search
- build
- debug
- diagnostics
- diff
- editor
- execution
- configuration
- detectors
- github
- git
- console
- workspace_commit
- keymap
- lsp
- host_policy
- interface
- languages
- lightweight
- network
- plugins
- process
- project_generators
- project
- protocol
- remote
- workspace_host
- runtime
- terminal
- tests
- fixtures
- community_build_plugins
- gradle
- maven
- toolchain
- vcs
- tests
- git-host
- src
- tests
- ide-host
- src
- bin
- remote
- src
- bin
- client
- protocol
- server
- connection
- platform
- upload
- tests
- support
- fixtures
- community
- debug
- lithe-core-rules
- src
- lithe-core/src/community
- logging
- scripts/rust-core
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | | - | |
23 | | - | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
40 | | - | |
| 46 | + | |
0 commit comments