[package] name = "product-os-connector" version = "0.0.19" # version - The version of the package. authors = ["Jeremy de Oliveira-Kumar "] # authors - The authors of the package. edition = "2021" # edition - The Rust edition. 2021 rust-version = "1.69" # rust-version - The minimal supported Rust version. min 1.69 description = "Product OS : Connector provides a framework for definining a server with APIs, outward API calls, a workflow to pass data along, all using only configuration that can be defined in JSON or Yaml. This flexible and powerful framework is akin to using automation tools like Zapier and IFTTT and tray.io and supports using OpenAPI / Swagger defined APIs." # description - A description of the package. # documentation = "" # documentation - URL of the package documentation. readme = "readme.md" # readme - Path to the package’s README file. Use https://www.makeareadme.com/ # homepage = "" # homepage - URL of the package homepage. # repository = "" # repository - URL of the package source repository. license = "AGPL-3.0-only" # license - The package license. # license-file = "license.txt" # license-file - Path to the text of the license. Use https://choosealicense.com/ keywords = ["product-os"] # keywords - Keywords for the package. categories = [] # categories - Categories of the package. https://crates.io/category_slugs # workspace = "" # workspace - Path to the workspace for the package. build = false # build - Path to the package build script. default "build.rs" or specify # links = "" # links - Name of the native library the package links with. exclude = [] # exclude - Files to exclude when publishing. include = [] # include - Files to include when publishing. # publish = [] # publish - Can be used to prevent publishing the package. false to prevent publish, list of registries otherwise # default-run = "" # default-run - The default binary to run by cargo run. autobins = true # autobins - Disables binary auto discovery. autoexamples = true # autoexamples - Disables example auto discovery. autotests = true # autotests - Disables test auto discovery. autobenches = true # autobenches - Disables bench auto discovery. resolver = "2" # resolver - Sets the dependency resolver to use. Use 2 with 2021, 1 prio # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] no-std-compat = { version = "0.4.1", features = ["alloc"], optional = false } async-trait = { version = "0.1.53", features = [], default-features = false, optional = true } async-recursion = { version = "1.0.4", features = [], default-features = false, optional = true } parking_lot = { version = "0.12.1", features = ["send_guard"], default-features = false, optional = true } tracing = { version = "0.1.29", features = [], default-features = false, optional = false } urlencoding = { version = "2.1.0", features = [], default-features = false, optional = true } serde = { version = "1.0.157", features = ["derive"], default-features = false, optional = true } serde_json = { version = "1.0.108", features = ["alloc"], default-fatures = false, optional = true } regex = { version = "1.5.4", features = ["unicode-perl"], default-features = false, optional = true } hex = { version = "0.4.3", features = [], default-features = false, optional = true } uuid = { version = "1.1.2", features = ["serde", "v4"], default-features = false, optional = true } # Date and Time Handling chrono = { version = "0.4.19", features = [], default-features = false, optional = true } matchit = { version = "0.7.2", features = [], default-features = false, optional = true } xml-rs = { version = "0.8.4", features = [], default-features = false, optional = true } product-os-net = { version = ">= 0.0.1", features = [], default-features = true, optional = false } product-os-capabilities = { version = ">= 0.0.1", features = [], default-features = false, optional = true } product-os-router = { version = ">= 0.0.1", features = [], default-features = false, optional = true } product-os-openapi = { version = ">= 0.0.1", features = [], default-features = false, optional = true } product-os-random = { version = ">= 0.0.1", features = [], default-features = false, optional = false } product-os-security = { version = ">= 0.0.1", features = ["jwt_auth_verify", "jwt_encrypt_decrypt"], default-features = false, optional = false } product-os-utilities = { version = ">= 0.0.1", features = ["data"], default-features = false, optional = false } product-os-request = { version = ">= 0.0.1", features = ["json"], default-features = false, optional = false } [patch.crates-io] product-os-net = { path = "../product-os-net", features = [], default-features = true, optional = false } product-os-capabilities = { path = "../product-os-capabilities", features = [], default-features = false, optional = true } product-os-router = { path = "../product-os-router", features = [], default-features = false, optional = true } product-os-openapi = { path = "../product-os-openapi", features = [], default-features = false, optional = true } product-os-random = { path = "../product-os-random", features = [], default-features = false, optional = false } product-os-security = { path = "../product-os-security", features = ["jwt_auth_verify", "jwt_encrypt_decrypt"], default-features = false, optional = false } product-os-utilities = { path = "../product-os-utilities", features = ["data"], default-features = false, optional = false } product-os-request = { path = "../product-os-request", features = ["json"], default-features = false, optional = false } [features] default = ["product-os-net/std", "product-os-capabilities/default", "product-os-router/default", "product-os-openapi/default", "product-os-request/default", "product-os-random/default", "product-os-security/default", "product-os-utilities/default"] connectors = ["hex", "regex/std", "regex/unicode-perl", "uuid", "uuid/serde", "uuid/v4", "uuid/fast-rng", "xml-rs", "urlencoding", "parking_lot", "parking_lot/send_guard", "async-trait", "product-os-capabilities", "product-os-router"] definition = ["serde_json", "chrono", "serde", "matchit", "regex"] openapi = ["product-os-openapi/openapi", "async-recursion", "serde_json"] [workspace]