[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.3"
[dependencies.tokio]
version = "1.42"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[features]
atp = []
channel = ["crossbeam-channel"]
ctp = []
default = ["ctp"]
xtp = []
[lib]
name = "rtp"
path = "src/lib.rs"
[package]
authors = ["glacierx <rong.xian@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
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.3"
[package.metadata.features]
mutually_exclusive = ["ctp", "atp", "xtp"]
[profile.release]
codegen-units = 1
lto = true
opt-level = 3