Skip to content

Fix pipeline #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 30, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix readme
  • Loading branch information
auxten committed Dec 30, 2023
commit 87030b6a7c97674b08cb9d2f2f1aee5647158f43
6 changes: 5 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@ jobs:
sudo ldconfig
- name: Build
run: cargo build --verbose
env:
RUST_BACKTRACE: full
- name: Run tests
run: cargo run
run: cargo run --example basic
env:
RUST_BACKTRACE: full
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
<a href="https://chdb.fly.dev" target="_blank">
<img src="https://avatars.githubusercontent.com/u/132536224" width=130 />
</a>
<img src="https://avatars.githubusercontent.com/u/132536224" width=130 />

[![Rust](https://github.com/chdb-io/chdb-rust/actions/workflows/rust.yml/badge.svg)](https://github.com/chdb-io/chdb-rust/actions/workflows/rust.yml)

# chdb-rust <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Rust_programming_language_black_logo.svg/1024px-Rust_programming_language_black_logo.svg.png" height=20 />
Experimental [chDB](https://github.com/auxten/chdb) FFI bindings for Rust
Experimental [chDB](https://github.com/chdb-io/chdb) FFI bindings for Rust
### Status

- experimental, unstable, subject to changes
- requires [`libchdb`](https://github.com/chdb-io/chdb) on the system
- ffi hack for testing. not a proper library or crate!
- Experimental, unstable, subject to changes
- Requires [`libchdb`](https://github.com/chdb-io/chdb) on the system

#### Build binding
```bash
cargo build
cargo run
./update_libchdb.sh
RUST_BACKTRACE=full cargo build --verbose
cargo run --example basic
```

:wave: _Rust developer? Jump in and help us evolve this example into a stable crate!_