Skip to content
This repository was archived by the owner on Dec 15, 2023. It is now read-only.

Commit 32f8c08

Browse files
committed
update dependencie
1 parent fb0a309 commit 32f8c08

File tree

7 files changed

+149
-2
lines changed

7 files changed

+149
-2
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Platform (please complete the following information):**
27+
- OS: [e.g. linux-ubuntu]
28+
- Version [e.g. x.x.x]
29+
30+
**Additional context**
31+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## I'm submitting a...
2+
3+
- [ ] Bug fix
4+
- [ ] Feature
5+
- [ ] Refactoring
6+
- [ ] Added tests
7+
- [ ] Documentation
8+
- [ ] Other (`Please describe in detail here`)
9+
10+
## Checklist
11+
12+
- [ ] Commit Messages follow the [Conventional Commits](https://www.conventionalcommits.org/zh-hans/v1.0.0-beta.4/) pattern
13+
- A feature commit message is prefixed "feat:"
14+
- A bug fix commit message is prefixed "fix:"
15+
- [ ] Tests for the changes have been added
16+
17+
## Description
18+
19+
_please describe the changes that you are making_
20+
21+
_for features, please describe how to use the new feature_
22+
23+
_please include a reference to an existing issue, if applicable_
24+
25+
## Does this PR introduce a breaking change?
26+
27+
- [ ] Yes
28+
- [ ] No

.github/workflows/cargo_fmt.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: cargo-fmt
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [ main ]
7+
8+
jobs:
9+
rust-fmt:
10+
name: Rust Fmt
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@master
14+
- name: Install Rust
15+
run: rustup update stable && rustup default stable && rustup component add rustfmt
16+
- run: cargo fmt -- --check

.github/workflows/cargo_publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: cargo-publish
2+
3+
on:
4+
release:
5+
types: [ created ]
6+
7+
jobs:
8+
cargo-publish:
9+
name: Cargo Publish
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Publish to crates-io
14+
run: cargo publish --token ${{secrets.PUBLISH_KEY}} --verbose

.github/workflows/cargo_test.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: cargo-test
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [ main ]
7+
8+
jobs:
9+
cargo-test:
10+
name: Run test on ${{ matrix.os }}
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
build: [ stable, nightly, macos, windows ]
15+
include:
16+
- build: stable
17+
os: ubuntu-latest
18+
rust: stable
19+
- build: nightly
20+
os: ubuntu-latest
21+
rust: nightly
22+
- build: macos
23+
os: macos-latest
24+
rust: stable
25+
- build: windows
26+
os: windows-latest
27+
rust: stable
28+
steps:
29+
- uses: actions/checkout@master
30+
- name: Install Rust
31+
run: |
32+
rustup set profile minimal
33+
rustup update --no-self-update ${{ matrix.rust }}
34+
rustup default ${{ matrix.rust }}
35+
rustup -V
36+
rustc -Vv
37+
cargo -V
38+
- name: Build and run tests
39+
run: cargo test --lib iotdb

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ description = "Apache IotDB CLI Client written in Rust"
1111
keywords = ["cli", "iotdb"]
1212

1313
[dependencies]
14-
iotdb = "0.0.3"
15-
prettytable-rs = "^0.8"
14+
iotdb = { git = "https://github.com/francis-du/iotdb-rs.git" }
1615
structopt = "0.3"

0 commit comments

Comments
 (0)