# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "cognite-sdk"
version = "0.6.2"
authors = [
    "Einar Marstrander Omang <einar.omang@cognite.com>",
    "Haakon Garseg Mørk <haakon.mork@cognite.com>",
    "Niek Beckers <niek.beckers@cognite.com>",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SDK for the Cognite Data Fusion API"
homepage = "https://github.com/cognitedata/cognite-sdk-rust"
documentation = "https://docs.rs/cognite-sdk/"
readme = "README.md"
categories = ["api-bindings"]
license = "Apache-2.0"
repository = "https://github.com/cognitedata/cognite-sdk-rust"

[features]
default = []
integration_tests = []

[lib]
name = "cognite"
path = "src/lib.rs"

[[example]]
name = "client"
path = "examples/client.rs"

[[example]]
name = "instances"
path = "examples/instances/main.rs"

[[test]]
name = "asset_tests"
path = "tests/asset_tests.rs"

[[test]]
name = "common_tests"
path = "tests/common_tests.rs"

[[test]]
name = "containers_tests"
path = "tests/containers_tests.rs"

[[test]]
name = "data_models_tests"
path = "tests/data_models_tests.rs"

[[test]]
name = "datapoints_tests"
path = "tests/datapoints_tests.rs"

[[test]]
name = "event_tests"
path = "tests/event_tests.rs"

[[test]]
name = "file_tests"
path = "tests/file_tests.rs"

[[test]]
name = "fixtures"
path = "tests/fixtures.rs"

[[test]]
name = "instances_tests"
path = "tests/instances_tests.rs"

[[test]]
name = "raw_tests"
path = "tests/raw_tests.rs"

[[test]]
name = "records_tests"
path = "tests/records_tests.rs"

[[test]]
name = "spaces_test"
path = "tests/spaces_test.rs"

[[test]]
name = "time_series_tests"
path = "tests/time_series_tests.rs"

[[test]]
name = "views_tests"
path = "tests/views_tests.rs"

[dependencies.anyhow]
version = "^1"

[dependencies.async-trait]
version = "^0.1"

[dependencies.bytes]
version = "^1"

[dependencies.derivative]
version = "^2"

[dependencies.futures]
version = "^0.3"

[dependencies.futures-locks]
version = "^0.7"

[dependencies.futures-timer]
version = "^3"

[dependencies.http]
version = "^1"

[dependencies.pin-project]
version = "1.1.10"

[dependencies.prost]
version = "^0.14"

[dependencies.prost-types]
version = "^0.14"

[dependencies.rand]
version = "^0.10.0"

[dependencies.reqwest]
version = "^0.12"
features = [
    "gzip",
    "json",
    "multipart",
    "rustls-tls-native-roots",
    "stream",
]
default-features = false

[dependencies.reqwest-middleware]
version = "^0.4.1"

[dependencies.serde]
version = "^1"
features = ["derive"]

[dependencies.serde_json]
version = "^1"

[dependencies.serde_with]
version = "^3"

[dependencies.thiserror]
version = "^2"

[dependencies.tokio-util]
version = "^0.7"
features = [
    "codec",
    "io",
]
default-features = false

[dev-dependencies.futures]
version = "^0.3"

[dev-dependencies.uuid]
version = "1.10.0"
features = ["v4"]

[dev-dependencies.wiremock]
version = "0.6.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "^1.38.2"
features = ["fs"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
version = "1.38.2"
features = [
    "macros",
    "rt-multi-thread",
]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.wiremock]
version = "0.6.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.4"
features = ["wasm_js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "^1.38.2"
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio-util]
version = "0.7.10"
features = ["rt"]

[lints.clippy]
large_enum_variant = "allow"

[lints.rust]
