[package] name = "odoo-api" version = "0.2.5" authors = ["Ryan Cole "] description = "Type-safe and full-coverage implementation of the Odoo JSON-RPC API, including ORM and Web methods. Supports sessioning, multi-database, async and blocking via reqwest, and bring-your-own requests." repository = "https://github.com/ryanc-me/odoo-api-rs" homepage = "https://github.com/ryanc-me/odoo-api-rs" documentation = "https://docs.rs/odoo-api" include = ["src/**/*.rs", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] categories = ["api-bindings", ] keywords = ["odoo", "jsonrpc", "json-rpc", "api"] license = "MIT OR Apache-2.0" edition = "2021" [dependencies] serde = { version = "1.0", features = ["derive"] } serde_tuple = "0.5.0" serde_json = "1.0" thiserror = "1.0" rand = { version = "0.8.5" } reqwest = { version = "0.11", features = ["json", "cookies"], optional = true } odoo-api-macros = "0.2.1" [features] # By default, fully reqwest async/blocking support is enabled default = ["async", "blocking"] # Include async Reqwest support async = ["reqwest"] # Include blocking Reqwest support blocking = ["reqwest", "reqwest/blocking"] # Disable the "OdooClient" implementation. This is useful if you *only* need the # API method types types-only = [] [package.metadata.docs.rs] features = ["async", "blocking"] targets = ["x86_64-unknown-linux-gnu"] rustdoc-args = ["--cfg", "doc_cfg"]