[package] name = "smartsheet-rs" version = "0.6.2" description = "Async Smartsheet API implementation in Rust" repository = "https://github.com/rnag/smartsheet-rs" authors = ["Ritvik Nag "] readme = "README.md" license = "MIT" keywords = ["smartsheet", "api", "async", "smartsheet-api", "client"] categories = ["api-bindings"] edition = "2021" # See here for more info: https://blog.rust-lang.org/2020/03/15/docs-rs-opt-into-fewer-targets.html [package.metadata.docs.rs] all-features = true targets = ["x86_64-unknown-linux-gnu"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] hyper = { version = "0.14.16", default-features = false, features = ["client"] } serde = { version = "1.0.136", features = ["derive"] } serde_json = { version = "1.0.78", default-features = false } # Optional log = { version = "0.4.14", optional = true } hyper-rustls = { version = "0.23.0", optional = true, default-features = false, features = ["native-tokio", "tls12"] } rustls = { version = "0.20.1", optional = true, default-features = false } hyper-tls = { version = "0.5.0", optional = true } [dev-dependencies] # version_sync: to ensure versions in `Cargo.toml` and `README.md` are in sync version-sync = "0.9.4" # cargo-bump: to bump package version and tag a commit at the same time. # actually, the docs recommend installing this globally: # $ cargo install cargo-bump # cargo-bump = "1.1.0" tokio = { version = "1.16.1", features = ["macros", "rt-multi-thread"] } sensible-env-logger = "0.1" # tabled: for pretty-printing response data in the examples tabled = "0.4.2" indoc = "1.0.4" criterion = "0.3.5" #[[bench]] #name = "my_benchmark" #harness = false ### FEATURES ################################################################# [features] default = ["rust-tls", "logging", "serde-std"] # The `rust-tls` feature here is ideal for Linux (AWS Lambda) environments. # NOTE: Disabling both `rust-tls` *and* `native-tls` features is not supported. rust-tls = ["hyper-rustls/http1", "hyper-rustls/http2", "hyper-rustls", "rustls"] # This feature enables useful log output from this library, such as request # URL and logging of elapsed durations; it is enabled by default. logging = ["log"] # Use the Rust standard library with `serde_json` (default) serde-std = ["serde_json/std"] # Use the native TLS implementation using OpenSSL instead native-tls = ["http1", "hyper-tls"] # Enable HTTP/1 or HTTP/2 support via hyper. These features generally # shouldn't be needed to be enabled individually. http1 = ["hyper/http1"] http2 = ["hyper/http2"] # This can be enabled to receive more verbose log output from `hyper-rustls` rust-tls-logging = ["hyper-rustls/logging"] # Available on Rust 1.36+. # See https://github.com/serde-rs/json#no-std-support serde-alloc = ["serde_json/alloc"]