[build-dependencies.bindgen]
version = "0.70"
[build-dependencies.encoding]
version = "0.2"
[build-dependencies.simple-error]
version = "0.3.1"
[build-dependencies.xmltree]
version = "0.11.0"
[dependencies.crossbeam-channel]
optional = true
version = "0.5"
[dependencies.encoding]
version = "0.2"
[dependencies.memchr]
version = "2.3.3"
[dependencies.simple-error]
version = "0.3.1"
[dependencies.time]
version = "0.1.43"
[dependencies.tokio]
version = "1.31"
[features]
atp = []
channel = ["crossbeam-channel"]
ctp = []
default = ["ctp"]
xtp = []
[lib]
name = "rtp"
path = "src/lib.rs"
[package]
authors = ["glacierx <rong.xian@gmail.com>"]
categories = ["api-bindings", "finance", "external-ffi-bindings"]
description = "Safe Rust bindings for CTP (Comprehensive Transaction Platform) and its variations for Chinese financial markets"
edition = "2021"
homepage = "https://github.com/glacierx/RTP"
keywords = ["ctp", "trading", "finance", "ffi", "china"]
license = "MIT/Apache-2.0"
name = "rtpx"
readme = "README.md"
repository = "https://github.com/glacierx/RTP"
version = "1.0.0"
[package.metadata.features]
mutually_exclusive = ["ctp", "atp", "xtp"]
[profile.release]
codegen-units = 1
lto = true
opt-level = 3