# 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 = "xero-rs" version = "0.0.4-alpha.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Xero API client library for Rust" readme = "README.md" keywords = [ "xero", "api", "client", "finance", ] categories = ["api-bindings"] license-file = "LICENSE" repository = "https://github.com/slickbench/xero-rs" [lib] name = "xero_rs" path = "src/lib.rs" [[example]] name = "accounting" path = "examples/accounting.rs" [[example]] name = "code_flow_authorization" path = "examples/code_flow_authorization.rs" [[test]] name = "authorize" path = "tests/authorize.rs" [[test]] name = "contact" path = "tests/contact.rs" [[test]] name = "invoice" path = "tests/invoice.rs" [[test]] name = "purchase_order" path = "tests/purchase_order.rs" [[test]] name = "quote" path = "tests/quote.rs" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.oauth2] version = "4" features = [ "reqwest", "rustls-tls", ] default-features = false [dependencies.reqwest] version = "0.11" features = [ "tokio-native-tls", "json", ] default-features = false [dependencies.rust_decimal] version = "1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1" [dependencies.tracing] version = "0.1" [dependencies.url] version = "2" [dependencies.uuid] version = "1.2" features = [ "serde", "v4", ] [dev-dependencies.anyhow] version = "1" [dev-dependencies.lazy_static] version = "1" [dev-dependencies.rust_decimal_macros] version = "1.15" [dev-dependencies.tokio] version = "1" features = [ "time", "rt", "macros", "rt-multi-thread", ] default-features = false [dev-dependencies.tracing-subscriber] version = "0.2" [dev-dependencies.warp] version = "0.3"