ora 0.12.0

Part of the Ora scheduler framework.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "ora"
version = "0.12.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Part of the Ora scheduler framework."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/tamasfe/ora/tree/master"
resolver = "2"

[features]
default = []
executor = [
    "dep:tokio-util",
    "dep:flume",
    "dep:tokio",
    "tokio/rt",
]
server = [
    "dep:ora-server",
    "tonic/transport",
    "tonic/router",
    "dep:hyper-util",
    "dep:tokio",
    "dep:tokio-stream",
    "dep:tower",
]

[lib]
name = "ora"
path = "src/lib.rs"

[[example]]
name = "server"
path = "examples/server.rs"
required-features = [
    "server",
    "executor",
]

[dependencies.async-stream]
version = "0.3.6"

[dependencies.bytes]
version = "1.11.1"

[dependencies.cronexpr]
version = "1.4.0"

[dependencies.eyre]
version = "0.6.12"

[dependencies.flume]
version = "0.12.0"
optional = true

[dependencies.futures]
version = "0.3.31"

[dependencies.http-body]
version = "1.0.1"

[dependencies.hyper-util]
version = "0.1.19"
optional = true

[dependencies.ora-macros]
version = "0.12.0"

[dependencies.ora-server]
version = "0.12.0"
optional = true

[dependencies.prost]
version = "0.14.3"

[dependencies.prost-types]
version = "0.14.3"

[dependencies.schemars]
version = "1.2.0"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.49.0"
features = [
    "rt",
    "macros",
    "time",
]
optional = true

[dependencies.tokio-stream]
version = "0.1.18"
optional = true

[dependencies.tokio-util]
version = "0.7.18"
optional = true

[dependencies.tonic]
version = "0.14.2"
features = ["codegen"]
default-features = false

[dependencies.tonic-prost]
version = "0.14.2"

[dependencies.tower]
version = "0.5.3"
optional = true

[dependencies.tracing]
version = "0.1.41"

[dependencies.uuid]
version = "1.19.0"
features = ["serde"]

[dependencies.wgroup]
version = "0.1.0"

[dev-dependencies.deadpool-postgres]
version = "0.14.1"

[dev-dependencies.tokio]
version = "1.49.0"
features = [
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.tracing-flame]
version = "0.2.0"

[dev-dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.49.0"
features = [
    "rt",
    "macros",
    "time",
]

[lints.clippy]
default_trait_access = "allow"
empty_docs = "allow"
ignored_unit_patterns = "allow"
map_unwrap_or = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
no_effect_underscore_binding = "allow"
ref_option_ref = "allow"
should_panic_without_expect = "allow"
similar_names = "allow"
single_match = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
type_repetition_in_bounds = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"