https://github.com/naokiri/cskk
SKK (Simple Kana Kanji henkan) library
https://github.com/naokiri/cskk
inputmethod skk
Last synced: about 1 month ago
JSON representation
SKK (Simple Kana Kanji henkan) library
- Host: GitHub
- URL: https://github.com/naokiri/cskk
- Owner: naokiri
- License: gpl-3.0
- Created: 2018-06-17T06:56:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-05T06:53:08.000Z (about 2 months ago)
- Last Synced: 2025-04-05T07:19:23.866Z (about 2 months ago)
- Topics: inputmethod, skk
- Language: Rust
- Homepage:
- Size: 2.55 MB
- Stars: 77
- Watchers: 3
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.developer.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## 開発者向け
開発中の確認は主に`cargo build` と `cargo test`でできるようにしています。
Nightlyでのチェックはrustupでnightlyをインストール後、
```shell
cargo clean && cargo +nightly check
```C ABI ライブラリを確認する場合、以下のような手作業です。
```shell
cargo cbuild
cp target/x86_64-unknown-linux-gnu/debug/libcskk.h ./c_tests/
$(CC) c_tests/c_shared_lib_test.c -L ./target/x86_64-unknown-linux-gnu/debug/ -lcskk -o c_tests/lib_test
LD_LIBRARY_PATH=./target/x86_64-unknown-linux-gnu/debug ./c_tests/lib_test
```## Notes for Developers
`cargo build` and `cargo test` shall be enough for most of the development.
To check in nightly channel, install nightly on rustup and then run
```shell
cargo clean && cargo +nightly check
```To generate the C ABI library,
```shell
cargo cbuild
cp target/x86_64-unknown-linux-gnu/debug/libcskk.h ./c_tests/
$(CC) c_tests/c_shared_lib_test.c -L ./target/x86_64-unknown-linux-gnu/debug/ -lcskk -o c_tests/lib_test
LD_LIBRARY_PATH=./target/x86_64-unknown-linux-gnu/debug ./c_tests/lib_test
```