[package] name = "product-os-authentication" version = "0.0.7" # 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 : Authentication provides an entire pre-fabricated framework for user authentication and management including a set of APIs and a database structure of identities." # 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] cfg-if = { version = "1.0.0", features = [] } tokio = { version = "1", features = ["sync"], default-features = false, optional = true } # For async capabilities parking_lot = { version = "0.12.1", features = ["send_guard"], default-features = false, optional = true } # Core dependencies product-os-capabilities = { version = ">= 0.0.1", features = [], default-features = true, optional = true } product-os-configuration = { version = ">= 0.0.1", features = [], default-features = true, optional = true } product-os-security = { version = ">= 0.0.1", features = ["jwt_auth_verify", "password_hash"], default-features = true, optional = true } product-os-store = { version = ">= 0.0.1", features = ["relational_store"], default-features = false, optional = true } product-os-store-macros = { version = ">= 0.0.1", features = [], default-features = true, optional = true } product-os-router = { version = ">= 0.0.1", features = [], default-features = true, optional = true } product-os-command-control = { version = ">= 0.0.1", features = [], default-features = true, optional = true } product-os-request = { version = ">= 0.0.1", features = [], default-features = false, optional = true } uuid = { version = "1.1.2", features = ["serde", "v4", "fast-rng"], default-features = false, optional = true } url = { version = "2.2.2", features = ["serde"], default-features = false, optional = true } chrono = { version = "0.4.19", default-features = false, optional = true } # Logging support tracing = { version = "0.1.29", default-features = false, optional = true } serde = { version = "1.0.132", features = ["derive"], default-features = false, optional = true } # Support for serialize/deserialize objects serde_json = { version = "1.0.73", features = [], default-features = false, optional = true } # Support for JSON structures openidconnect = { version = "2.3.1", features = ["reqwest", "rustls-tls"], default-features = false, optional = true } futures = { version = "0.3.21", default-features = false, optional = true } [patch.crates-io] product-os-capabilities = { path = "../product-os-capabilities", features = [], default-features = true, optional = true } product-os-configuration = { path = "../product-os-configuration", features = [], default-features = true, optional = true } product-os-security = { path = "../product-os-security", features = ["jwt_auth_verify", "password_hash"], default-features = true, optional = true } product-os-store = { path = "../product-os-store", features = ["relational_store"], default-features = false, optional = true } product-os-store-macros = { path = "../product-os-store-macros", features = [], default-features = true, optional = true } product-os-router = { path = "../product-os-router", features = [], default-features = true, optional = true } product-os-command-control = { path = "../product-os-command-control", features = [], default-features = true, optional = true } product-os-request = { path = "../product-os-request", features = [], default-features = false, optional = true } [features] default = ["core_authentication", "authentication_layer"] core_authentication = ["tokio", "parking_lot", "uuid", "url", "chrono", "tracing", "serde", "serde_json", "openidconnect", "futures", "product-os-capabilities", "product-os-router", "product-os-security", "product-os-store", "product-os-store-macros", "product-os-configuration", "product-os-request"] authentication_layer = ["product-os-command-control"] issue_token = ["product-os-command-control"] [workspace]