[package]
edition = "2024"
rust-version = "1.95.0"
name = "use-event-stream"
version = "0.1.0"
authors = ["RustUse Contributors"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ordered in-memory event stream wrapper for RustUse events."
homepage = "https://rustuse.org/use-event/"
documentation = "https://docs.rs/use-event-stream"
readme = "README.md"
keywords = [
"event",
"stream",
"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
[lib]
name = "use_event_stream"
path = "src/lib.rs"
[[example]]
name = "event_stream_basic_usage"
path = "examples/basic_usage.rs"
[[test]]
name = "event_stream_basic_usage_test"
path = "tests/basic_usage.rs"
[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"