# 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 = "senhasegura-rs" version = "0.3.0" authors = ["Gabriel Kim"] publish = true description = "Senhasegura API client for Rust" homepage = "https://github.com/gabrielkim13/senhasegura-rs" readme = "README.md" license = "MIT" repository = "https://github.com/gabrielkim13/senhasegura-rs" [lib] crate-type = [ "cdylib", "lib", ] [[bin]] name = "uniffi-bindgen" path = "uniffi-bindgen.rs" [dependencies.anyhow] version = "1" [dependencies.async-trait] version = "0.1" [dependencies.chrono] version = "0.4" [dependencies.http] version = "1" [dependencies.napi] version = "2" features = [ "async", "napi4", ] optional = true default-features = false [dependencies.napi-derive] version = "2" optional = true [dependencies.oauth2] version = "5.0.0-alpha.4" features = ["rustls-tls"] default-features = false [dependencies.once_cell] version = "1" optional = true [dependencies.reqwest] version = "0.12" features = [ "http2", "rustls-tls", "rustls-tls-native-roots", "charset", "gzip", "json", ] default-features = false [dependencies.reqwest-middleware] version = "0.3" features = [ "charset", "http2", "json", "rustls-tls", ] optional = true [dependencies.reqwest-retry] version = "0.6" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde-aux] version = "4" default-features = false [dependencies.serde_json] version = "1" [dependencies.serde_repr] version = "0.1" [dependencies.strum] version = "0.26" features = ["derive"] [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["sync"] [dependencies.tracing] version = "0.1" [dependencies.uniffi] version = "0.25.0" features = ["cli"] optional = true [dependencies.url] version = "2" [dev-dependencies.test-context] version = "0.3" [dev-dependencies.tokio] version = "1" features = ["test-util"] [dev-dependencies.tokio-test] version = "0.4" [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dev-dependencies.wiremock] version = "0.6" [features] default = ["retry"] napi = [ "dep:napi", "dep:napi-derive", ] retry = [ "dep:reqwest-middleware", "dep:reqwest-retry", ] uniffi = [ "dep:once_cell", "dep:uniffi", "tokio/rt-multi-thread", ]