use-event 0.1.0

Feature-gated facade crate for RustUse event primitives.
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"
rust-version = "1.95.0"
name = "use-event"
version = "0.1.0"
authors = ["RustUse Contributors"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Feature-gated facade crate for RustUse event primitives."
homepage = "https://rustuse.org/use-event/"
documentation = "https://docs.rs/use-event"
readme = "README.md"
keywords = [
    "event",
    "facade",
    "primitive",
    "rustuse",
]
categories = ["data-structures"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/RustUse/use-event"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["full"]
dispatch = ["dep:use-event-dispatch"]
envelope = [
    "dep:use-event-envelope",
    "id",
    "name",
    "kind",
    "source",
    "target",
    "metadata",
    "timestamp",
]
full = [
    "id",
    "name",
    "kind",
    "status",
    "source",
    "target",
    "payload",
    "metadata",
    "timestamp",
    "envelope",
    "handler",
    "dispatch",
    "stream",
    "log",
]
handler = ["dep:use-event-handler"]
id = ["dep:use-event-id"]
kind = ["dep:use-event-kind"]
log = ["dep:use-event-log"]
metadata = ["dep:use-event-metadata"]
name = ["dep:use-event-name"]
payload = ["dep:use-event-payload"]
source = ["dep:use-event-source"]
status = ["dep:use-event-status"]
stream = ["dep:use-event-stream"]
target = ["dep:use-event-target"]
timestamp = ["dep:use-event-timestamp"]

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

[[example]]
name = "event_facade_basic_usage"
path = "examples/basic_usage.rs"
required-features = ["full"]

[[test]]
name = "event_facade_basic_usage_test"
path = "tests/basic_usage.rs"
required-features = ["full"]

[dependencies.use-event-dispatch]
version = "0.1.0"
optional = true

[dependencies.use-event-envelope]
version = "0.1.0"
optional = true

[dependencies.use-event-handler]
version = "0.1.0"
optional = true

[dependencies.use-event-id]
version = "0.1.0"
optional = true

[dependencies.use-event-kind]
version = "0.1.0"
optional = true

[dependencies.use-event-log]
version = "0.1.0"
optional = true

[dependencies.use-event-metadata]
version = "0.1.0"
optional = true

[dependencies.use-event-name]
version = "0.1.0"
optional = true

[dependencies.use-event-payload]
version = "0.1.0"
optional = true

[dependencies.use-event-source]
version = "0.1.0"
optional = true

[dependencies.use-event-status]
version = "0.1.0"
optional = true

[dependencies.use-event-stream]
version = "0.1.0"
optional = true

[dependencies.use-event-target]
version = "0.1.0"
optional = true

[dependencies.use-event-timestamp]
version = "0.1.0"
optional = true

[lints.clippy]
derivable_impls = "allow"
doc_markdown = "allow"
expect_used = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
return_self_not_must_use = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "warn"

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

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

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

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

[lints.rust]
unsafe_code = "forbid"