Skip to content

Commit

Permalink
release v3.2.0 to github
Browse files Browse the repository at this point in the history
  • Loading branch information
YutongGong committed Jan 3, 2025
1 parent 6373632 commit a62e257
Show file tree
Hide file tree
Showing 258 changed files with 15,225 additions and 9,925 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
rustflags = ["-D", "warnings"]
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/target
/target
.vscode
Cargo.lock

7 changes: 7 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
build-linux:
stage: build
tags:
- Linux Rust API
script:
- echo "Hello, $GITLAB_USER_LOGIN!"
- cargo build
95 changes: 0 additions & 95 deletions Cargo.lock

This file was deleted.

30 changes: 21 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
[package]
name = "api-rust"
version = "0.1.0"
authors = ["RobinZhang <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
name = "dolphindb"
version = "3.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A Rust native API for DolphinDB"
authors = ["DolphinDB, Inc. <[email protected]>"]

[dependencies]
libc = "0.2.0"
rand = "0.5"
ddb = {path = "./api"}
tokio = { version = "1.41.1", features = ["net", "io-util", "rt", "macros", "rt-multi-thread", "sync", "time"] }
bytes = "1.9.0"
socket2 = "0.5.8"
chrono = "0.4.39"
rust_decimal = "1.36.0"
byteorder = "1.5"
thiserror = "2.0.9"
futures = "0.3.31"
paste = "1.0.15"
prettytable-rs = "^0.10"

[dev-dependencies]
rand = "0.8.5"
encoding = "0.2"
rstest = "0.23"
204 changes: 0 additions & 204 deletions LICENSE

This file was deleted.

13 changes: 13 additions & 0 deletions LICENSE-APACHE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 2024 DolphinDB, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
7 changes: 7 additions & 0 deletions LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright © 2024 DolphinDB, Inc.

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:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

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.
Loading

0 comments on commit a62e257

Please sign in to comment.