[package]
edition = "2021"
rust-version = "1.80"
name = "nordnet-api"
version = "0.1.0"
authors = ["Alfredo V. Clemente <aemente91@gmail.com>"]
build = false
exclude = ["fixtures/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed REST bindings for the Nordnet External API v2."
homepage = "https://github.com/Alfredvc/nordnet-cli"
readme = "README.md"
keywords = [
"nordnet",
"trading",
"rest",
"api",
"finance",
]
categories = [
"api-bindings",
"finance",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Alfredvc/nordnet-cli"
[lib]
name = "nordnet_api"
path = "src/lib.rs"
[[test]]
name = "accounts_test"
path = "tests/accounts_test.rs"
[[test]]
name = "client_test"
path = "tests/client_test.rs"
[[test]]
name = "countries_test"
path = "tests/countries_test.rs"
[[test]]
name = "instrument_search_test"
path = "tests/instrument_search_test.rs"
[[test]]
name = "instruments_test"
path = "tests/instruments_test.rs"
[[test]]
name = "login_test"
path = "tests/login_test.rs"
[[test]]
name = "main_search_test"
path = "tests/main_search_test.rs"
[[test]]
name = "markets_test"
path = "tests/markets_test.rs"
[[test]]
name = "news_test"
path = "tests/news_test.rs"
[[test]]
name = "orders_test"
path = "tests/orders_test.rs"
[[test]]
name = "root_test"
path = "tests/root_test.rs"
[[test]]
name = "tick_sizes_test"
path = "tests/tick_sizes_test.rs"
[[test]]
name = "tradables_test"
path = "tests/tradables_test.rs"
[dependencies.nordnet-model]
version = "0.1"
[dependencies.reqwest]
version = "0.13.3"
features = [
"json",
"rustls",
"http2",
]
default-features = false
[dependencies.rust_decimal]
version = "1.41.0"
features = ["serde-arbitrary-precision"]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
features = ["arbitrary_precision"]
[dependencies.serde_urlencoded]
version = "0.7.1"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.time]
version = "0.3.47"
features = [
"serde",
"serde-well-known",
"macros",
]
[dependencies.tokio]
version = "1.52.1"
features = [
"macros",
"rt-multi-thread",
"time",
]
[dev-dependencies.base64]
version = "0.22.1"
[dev-dependencies.pretty_assertions]
version = "1.4.1"
[dev-dependencies.ssh-key]
version = "0.6.7"
features = [
"alloc",
"ed25519",
]
default-features = false
[dev-dependencies.tokio]
version = "1.52.1"
features = [
"macros",
"rt-multi-thread",
"time",
"test-util",
]
[dev-dependencies.wiremock]
version = "0.6.5"
[lints.clippy]
perf = "warn"
suspicious = "warn"
[lints.rust]
unsafe_code = "forbid"