# 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 = "2018" name = "typesense" version = "0.1.0" authors = ["Typesense "] description = "WIP client for typesense" license = "Apache-2.0" [lib] crate-type = [ "cdylib", "rlib", ] [[test]] name = "derive_tests" path = "tests/derive/lib.rs" required-features = ["derive"] [dependencies.async-trait] version = "0.1.50" [dependencies.base64] version = "0.13.0" [dependencies.hmac] version = "0.11.0" [dependencies.http] version = "0.2.4" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.sha2] version = "0.9.5" [dependencies.thiserror] version = "1.0.24" [dependencies.typesense_codegen] version = "0.23.0" [dependencies.typesense_derive] version = "0.1.0" optional = true [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.trybuild] version = "1.0.42" [features] default = ["derive"] derive = ["typesense_derive"] openapi_client = [] tokio-rt = [ "hyper/runtime", "hyper/tcp", "hyper-tls", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.hyper] version = "0.14.7" features = [ "http1", "http2", "client", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.hyper-tls] version = "0.5.0" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.tokio] version = "1.5.0" features = [ "macros", "rt", "rt-multi-thread", ] [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3.50" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.73" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] version = "0.4.23" [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.50" features = [ "Headers", "Response", "Request", "RequestInit", "RequestMode", "Window", "WorkerGlobalScope", ] [target."cfg(target_arch = \"wasm32\")".dev-dependencies.console_error_panic_hook] version = "0.1.6" [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] version = "0.3.23"