Skip to content
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

implement subscribable objects service #11

Closed
wants to merge 40 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
63af102
add subs service
ho-229 Nov 18, 2022
3ec1ab2
simplified code
ho-229 Nov 19, 2022
5f16f99
add limit-deps
ho-229 Nov 22, 2022
d2b6c3b
fix build
ho-229 Nov 22, 2022
9ad90dc
Update Cargo.toml
ho-229 Nov 22, 2022
0a9085f
using get_db_layer
ho-229 Nov 22, 2022
87a14e5
change batch api to single, http2 will do the batch like thing
LemonHX Nov 28, 2022
7ffa6c3
implement sync close #8
LemonHX Nov 29, 2022
a49a65f
Update README.md
LemonHX Nov 29, 2022
ea6ab06
remove `type` field in Event
ho-229 Nov 29, 2022
908f0b3
simplified code
ho-229 Nov 29, 2022
e278b19
some changes
ho-229 Nov 29, 2022
af3b315
rebase to tonic
LemonHX Dec 2, 2022
bdee8cb
Merge branch 'subs' into tonic
LemonHX Dec 6, 2022
dc71b36
Merge pull request #18 from Limit-IM/tonic
LemonHX Dec 6, 2022
6031d1e
Update rust.yml
LemonHX Dec 6, 2022
bde7587
fix
LemonHX Dec 5, 2022
5e1e9ea
feat: measurements (#19)
George-Miao Dec 7, 2022
7c2214b
ci: run check on pr
George-Miao Dec 7, 2022
e5c3ced
chore: pin rust toolchain version
George-Miao Dec 7, 2022
f01d054
chore: include all `limit-*` as workspace member
George-Miao Dec 7, 2022
6bac9b9
feat: fix minor issue
George-Miao Dec 7, 2022
b116ada
ci: use rust-toolchain.toml for actions
George-Miao Dec 7, 2022
35bab75
feat: background debug return
George-Miao Dec 7, 2022
e941b94
style: restrict formatting
George-Miao Dec 7, 2022
461452c
fix: actions won't read rust-toolchain.toml
George-Miao Dec 7, 2022
02ab6b3
feat: precise configs
George-Miao Dec 7, 2022
eb2bb94
feat(db): remove box from service future
George-Miao Dec 7, 2022
b06df87
ci: run cargo check
George-Miao Dec 7, 2022
5a75f2d
chore(deps): add mod_use
George-Miao Dec 7, 2022
4454cb4
fix: cargo check require protoc
George-Miao Dec 7, 2022
354c697
chore: remove agent config from server config
George-Miao Dec 7, 2022
d889d1f
feat: optimize random passcode
George-Miao Dec 7, 2022
bda67ce
feat: remove idl
KevinZonda Dec 8, 2022
8d7b0bb
feat: add idl submodule
KevinZonda Dec 8, 2022
749782a
ci: fix checkout & support dispatch
KevinZonda Dec 8, 2022
481842f
ci: support skip ci [skip-ci]
KevinZonda Dec 9, 2022
d5728c8
docs: better RM [skip-ci]
KevinZonda Dec 9, 2022
051c0c3
fix: badge [skip-ci]
KevinZonda Dec 9, 2022
7a17a1e
docs: fix [skip-ci]
KevinZonda Dec 9, 2022
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
53 changes: 30 additions & 23 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,44 @@ name: Rust

on:
push:
branches: [ "master" ]
branches: ["master", "subs"]
pull_request:
branches: [ "master" ]
types:
- review_requested
- ready_for_review
- opened
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

if: ${{ !contains(github.event.head_commit.message, '[skip-ci]') }}
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- name: Checkout source code
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
override: true
components: rustfmt, clippy
- name: diesel_cli
run: cargo install diesel_cli --no-default-features --features sqlite
- name: run diesel migration
run: diesel migration run
# - name: check fmt
# run: cargo fmt --check
- name: Build
run: cargo build
- name: Start Redis
uses: supercharge/[email protected]
with:
redis-version: 6
- name: Run tests
run: cargo test -- --test-threads=1
- name: Install diesel_cli
run: cargo install diesel_cli --no-default-features --features sqlite
- name: Run diesel migration
run: diesel migration run
- name: Install protoc
run: sudo apt install -y protobuf-compiler
- name: Check
run: cargo check --workspace --all-targets --all-features
- name: Build
run: cargo build
- name: Start Redis
uses: supercharge/[email protected]
with:
redis-version: 6
- name: Run tests
run: cargo test -- --test-threads=1
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "idl"]
path = idl
url = https://github.com/Limit-IM/limit-proto
Loading