Skip to content

Commit a62e257

Browse files
committed
release v3.2.0 to github
1 parent 6373632 commit a62e257

File tree

258 files changed

+15225
-9925
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

258 files changed

+15225
-9925
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
rustflags = ["-D", "warnings"]

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
/target
1+
/target
2+
.vscode
3+
Cargo.lock
4+

.gitlab-ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
build-linux:
2+
stage: build
3+
tags:
4+
- Linux Rust API
5+
script:
6+
- echo "Hello, $GITLAB_USER_LOGIN!"
7+
- cargo build

Cargo.lock

Lines changed: 0 additions & 95 deletions
This file was deleted.

Cargo.toml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
[package]
2-
name = "api-rust"
3-
version = "0.1.0"
4-
authors = ["RobinZhang <yanbin.zhang@dolphindb.com>"]
5-
edition = "2018"
6-
7-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2+
name = "dolphindb"
3+
version = "3.2.0"
4+
edition = "2021"
5+
license = "MIT OR Apache-2.0"
6+
description = "A Rust native API for DolphinDB"
7+
authors = ["DolphinDB, Inc. <support@dolphindb.com>"]
88

99
[dependencies]
10-
libc = "0.2.0"
11-
rand = "0.5"
12-
ddb = {path = "./api"}
10+
tokio = { version = "1.41.1", features = ["net", "io-util", "rt", "macros", "rt-multi-thread", "sync", "time"] }
11+
bytes = "1.9.0"
12+
socket2 = "0.5.8"
13+
chrono = "0.4.39"
14+
rust_decimal = "1.36.0"
15+
byteorder = "1.5"
16+
thiserror = "2.0.9"
17+
futures = "0.3.31"
18+
paste = "1.0.15"
19+
prettytable-rs = "^0.10"
20+
21+
[dev-dependencies]
22+
rand = "0.8.5"
23+
encoding = "0.2"
24+
rstest = "0.23"

LICENSE

Lines changed: 0 additions & 204 deletions
This file was deleted.

LICENSE-APACHE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2024 DolphinDB, Inc.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

LICENSE-MIT

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright © 2024 DolphinDB, Inc.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)