[package] name = "graph-rs-sdk" version = "2.0.3" authors = ["sreeise"] edition = "2021" readme = "README.md" license = "MIT" repository = "https://github.com/sreeise/graph-rs-sdk" description = "Rust SDK Client for Microsoft Graph and Microsoft Identity Platform" homepage = "https://github.com/sreeise/graph-rs-sdk" exclude = [ "test_files/*", "tests/*", "examples/*", "test-tools/*", "graph-codegen/*" ] keywords = ["onedrive", "microsoft", "sdk", "api", "oauth"] categories = ["authentication", "web-programming::http-client"] [workspace] members = [ "graph-oauth", "graph-error", "test-tools", "graph-codegen", "graph-http", "graph-core" ] [dependencies] handlebars = "2.0.4" # TODO: Update to 4 lazy_static = "1.4.0" reqwest = { workspace = true, default-features=false, features = ["json", "gzip", "blocking", "stream"] } serde = { version = "1", features = ["derive"] } serde_json = "1" url = "2" graph-oauth = { version = "2.0.2", default-features=false } graph-http = { version = "2.0.2", default-features=false } graph-error = { version = "0.3.2" } graph-core = { version = "2.0.2", default-features=false } # When updating or adding new features to this or dependent crates run # cargo tree -e features -i graph-rs-sdk # Use this command verify that the dependency is not # enabled by default due to another package having it as a dependency # without default-features=false. [features] default = ["native-tls"] native-tls = ["reqwest/native-tls", "graph-http/native-tls", "graph-oauth/native-tls", "graph-core/native-tls"] rustls-tls = ["reqwest/rustls-tls", "graph-http/rustls-tls", "graph-oauth/rustls-tls", "graph-core/rustls-tls"] brotli = ["reqwest/brotli", "graph-http/brotli", "graph-oauth/brotli", "graph-core/brotli"] deflate = ["reqwest/deflate", "graph-http/deflate", "graph-oauth/deflate", "graph-core/deflate"] trust-dns = ["reqwest/trust-dns", "graph-http/trust-dns", "graph-oauth/trust-dns", "graph-core/trust-dns"] socks = ["reqwest/socks", "graph-http/socks", "graph-oauth/socks", "graph-core/socks"] openssl = ["graph-oauth/openssl"] interactive-auth = ["graph-oauth/interactive-auth"] test-util = ["graph-http/test-util"] [workspace.dependencies] reqwest = { version = "0.12", default-features = false} http = { version = "1", default-features = false } [dev-dependencies] bytes = { version = "1.4.0" } futures = "0.3" http = { workspace = true } lazy_static = "1.4" tokio = { version = "1.27.0", features = ["full"] } warp = { version = "0.3.5" } webbrowser = "0.8.7" anyhow = "1.0.69" log = "0.4" pretty_env_logger = "0.5.0" base64 = "0.21.0" wiremock = "0.5.22" # graph-codegen = { path = "./graph-codegen", version = "0.0.1" } # test-tools = { path = "./test-tools", version = "0.0.1" } [profile.release] debug = false [[example]] name = "oauth_certificate" path = "examples/certificate_auth/main.rs" required-features = ["interactive-auth", "openssl"] [[example]] name = "interactive_auth" path = "examples/interactive_auth/main.rs" required-features = ["interactive-auth"]