gpui-navigator 0.1.3

Navigator for GPUI with transitions, nested routing, guards, and middleware
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 = "2021"
rust-version = "1.75"
name = "gpui-navigator"
version = "0.1.3"
authors = ["Vanya Stafford"]
build = false
exclude = [
    ".github/",
    ".idea/",
    "target/",
    "*.md",
    "!README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Navigator for GPUI with transitions, nested routing, guards, and middleware"
homepage = "https://github.com/vanyastaff/gpui-navigator"
documentation = "https://docs.rs/gpui-navigator"
readme = "README.md"
keywords = [
    "gpui",
    "navigator",
    "navigation",
    "transitions",
    "ui",
]
categories = [
    "gui",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vanyastaff/gpui-navigator"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cache = ["dep:lru"]
default = [
    "log",
    "guard",
    "middleware",
    "cache",
    "transition",
]
guard = []
log = ["dep:log"]
middleware = []
tracing = ["dep:tracing"]
transition = []

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

[[example]]
name = "error_demo"
path = "examples/error_demo.rs"

[[example]]
name = "stateful_demo"
path = "examples/stateful_demo.rs"

[[example]]
name = "transition_demo"
path = "examples/transition_demo.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[dependencies.gpui]
version = "0.2"

[dependencies.log]
version = "0.4"
optional = true

[dependencies.lru]
version = "0.16"
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.gpui]
version = "0.2"
features = ["test-support"]

[dev-dependencies.pollster]
version = "0.4"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]

[lints.clippy]
assigning_clones = "allow"
branches_sharing_code = "allow"
cast_precision_loss = "allow"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
inefficient_to_string = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_bool = "allow"
needless_borrows_for_generic_args = "allow"
needless_continue = "allow"
needless_doctest_main = "allow"
needless_lifetimes = "allow"
needless_pass_by_ref_mut = "allow"
needless_pass_by_value = "allow"
no_effect_underscore_binding = "allow"
nonminimal_bool = "allow"
only_used_in_recursion = "allow"
option_if_let_else = "allow"
redundant_clone = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
single_match_else = "allow"
suboptimal_flops = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_literal_bound = "allow"
unreadable_literal = "allow"
unused_peekable = "allow"
use_self = "allow"
wildcard_imports = "allow"

[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"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1