[package]
edition = "2024"
rust-version = "1.89"
name = "rustyschwab-types"
version = "0.2.0"
authors = ["Nick Paterno"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unofficial wire types for the Charles Schwab Trader and Market Data APIs"
homepage = "https://github.com/epistates/rustyschwab"
documentation = "https://docs.rs/rustyschwab-types"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/epistates/rustyschwab"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
schemars = ["dep:schemars"]
[lib]
name = "rustyschwab_types"
path = "src/lib.rs"
[[test]]
name = "order_validation"
path = "tests/order_validation.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "request_params"
path = "tests/request_params.rs"
[[test]]
name = "response_shapes"
path = "tests/response_shapes.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.rust_decimal]
version = "1.43"
features = ["serde"]
[dependencies.schemars]
version = "1.0"
features = ["chrono04"]
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_with]
version = "3.17"
[dev-dependencies.proptest]
version = "1.11"
[dev-dependencies.serde_json]
version = "1.0"
[lints.clippy]
dbg_macro = "deny"
todo = "deny"
unimplemented = "deny"
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "deny"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]