[package]
edition = "2024"
name = "fyers"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Idiomatic async Rust client for the Fyers trading API."
readme = "README.md"
keywords = [
"fyers",
"trading",
"stocks",
"api-client",
"india",
]
categories = [
"api-bindings",
"finance",
"web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fushinori/fyers"
[lib]
name = "fyers"
path = "src/lib.rs"
[[example]]
name = "auth"
path = "examples/auth.rs"
[[example]]
name = "client"
path = "examples/client.rs"
[[test]]
name = "cancel_order"
path = "tests/cancel_order.rs"
[[test]]
name = "cancel_pending_orders"
path = "tests/cancel_pending_orders.rs"
[[test]]
name = "error"
path = "tests/error.rs"
[[test]]
name = "exit_all_positions"
path = "tests/exit_all_positions.rs"
[[test]]
name = "history"
path = "tests/history.rs"
[[test]]
name = "place_order"
path = "tests/place_order.rs"
[[test]]
name = "profile"
path = "tests/profile.rs"
[dependencies.chrono]
version = "0.4.43"
[dependencies.hex]
version = "0.4.3"
[dependencies.reqwest]
version = "0.13.1"
features = [
"json",
"query",
]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.serde_repr]
version = "0.1.20"
[dependencies.sha2]
version = "0.10.9"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.url]
version = "2.5.8"
[dev-dependencies.dotenvy]
version = "0.15.7"
[dev-dependencies.httpmock]
version = "0.8.3"
[dev-dependencies.serde_urlencoded]
version = "0.7.1"
[dev-dependencies.tokio]
version = "1.49.0"
features = ["full"]