# 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.70" name = "leptonic" version = "0.5.0" authors = ["Lukas Potthast "] build = "build.rs" description = """ The Leptos component library. """ readme = "README.md" keywords = [ "leptos", "components", "component-library", ] categories = ["gui"] license = "MIT OR Apache-2.0" repository = "https://github.com/lpotthast/leptonic" [dependencies.cfg-if] version = "1.0.0" [dependencies.icondata] version = "0.3.0" [dependencies.indexmap] version = "2.2.2" [dependencies.indoc] version = "2.0.4" [dependencies.itertools] version = "0.12.1" [dependencies.js-sys] version = "0.3.67" [dependencies.leptos] version = "0.6.5" [dependencies.leptos-tiptap] version = "0.7.0" optional = true [dependencies.leptos-use] version = "0.10.1" features = ["math"] [dependencies.leptos_meta] version = "0.6.5" features = [] [dependencies.leptos_router] version = "0.6.5" [dependencies.serde] version = "1.0.196" [dependencies.serde-wasm-bindgen] version = "0.6.3" [dependencies.serde_json] version = "1.0.113" [dependencies.strum] version = "0.26.1" features = ["derive"] [dependencies.time] version = "=0.3.31" features = [ "wasm-bindgen", "macros", "serde", "serde-well-known", ] [dependencies.tracing] version = "0.1.40" [dependencies.uuid] version = "1.7.0" features = [ "v4", "v7", "js", "serde", ] [dependencies.wasm-bindgen] version = "0.2.90" [dependencies.wasm-bindgen-futures] version = "0.4.40" [dependencies.web-sys] version = "0.3.67" features = [ "Clipboard", "DomRect", "Event", "EventTarget", "HtmlFormElement", "HtmlInputElement", "Storage", ] [dev-dependencies.wasm-bindgen] version = "0.2.90" [dev-dependencies.wasm-bindgen-test] version = "0.3.40" [dev-dependencies.web-sys] version = "0.3.67" [build-dependencies.anyhow] version = "1.0.79" [build-dependencies.cargo_toml] version = "0.19.1" [build-dependencies.lazy_static] version = "1.4.0" [build-dependencies.leptonic-theme] version = "0.5" [build-dependencies.leptos-tiptap-build] version = "0.2.6" optional = true [features] clipboard = [] csr = ["leptos/csr"] full = [ "clipboard", "tiptap", ] hydrate = ["leptos/hydrate"] ssr = [ "leptos/ssr", "leptos-use/ssr", "leptos-tiptap?/ssr", ] tiptap = [ "dep:leptos-tiptap", "dep:leptos-tiptap-build", ] [lints.clippy] await_holding_lock = "warn" cargo = "warn" char_lit_as_u8 = "warn" checked_conversions = "warn" dbg_macro = "warn" debug_assert_with_mut_call = "warn" decimal_literal_representation = "warn" doc_markdown = "warn" empty_enum = "warn" enum_glob_use = "warn" exit = "warn" expl_impl_clone_on_copy = "warn" explicit_deref_methods = "warn" explicit_into_iter_loop = "warn" fallible_impl_from = "warn" filter_map_next = "warn" flat_map_option = "warn" float_cmp_const = "warn" fn_params_excessive_bools = "warn" from_iter_instead_of_collect = "warn" get_unwrap = "warn" if_let_mutex = "warn" implicit_clone = "warn" imprecise_flops = "warn" inefficient_to_string = "warn" inline_always = "allow" invalid_upcast_comparisons = "warn" large_digit_groups = "warn" large_stack_arrays = "warn" large_types_passed_by_value = "warn" let_unit_value = "warn" linkedlist = "warn" lossy_float_literal = "warn" macro_use_imports = "warn" manual_ok_or = "warn" map_err_ignore = "warn" map_flatten = "warn" map_unwrap_or = "allow" match_bool = "allow" match_on_vec_items = "warn" match_same_arms = "warn" match_wild_err_arm = "warn" match_wildcard_for_single_variants = "warn" mem_forget = "warn" mismatched_target_os = "warn" missing_enforced_import_renames = "warn" missing_safety_doc = "deny" mut_mut = "warn" mutex_integer = "warn" needless_borrow = "warn" needless_continue = "warn" needless_for_each = "warn" nursery = "warn" option_option = "warn" path_buf_push_overwrite = "warn" pedantic = "warn" ptr_as_ptr = "warn" rc_mutex = "warn" ref_option_ref = "warn" rest_pat_in_fully_bound_structs = "warn" same_functions_in_if_condition = "warn" semicolon_if_nothing_returned = "warn" string_add = "warn" string_add_assign = "warn" string_lit_as_bytes = "warn" string_to_string = "warn" todo = "warn" trait_duplication_in_bounds = "warn" undocumented_unsafe_blocks = "deny" unimplemented = "warn" unnested_or_patterns = "warn" unused_self = "warn" unwrap_used = "warn" use_debug = "warn" useless_transmute = "warn" verbose_file_reads = "warn" [lints.clippy.module_name_repetitions] level = "allow" priority = 1 [lints.clippy.must_use_candidate] level = "allow" priority = 1 [lints.clippy.option_if_let_else] level = "allow" priority = 1 [lints.clippy.redundant_pub_crate] level = "allow" priority = 1 [lints.clippy.single_match_else] level = "allow" priority = 1 [lints.clippy.wildcard_imports] level = "allow" priority = 1 [lints.rust] anonymous_parameters = "deny" illegal_floating_point_literal_pattern = "deny" keyword_idents = "warn" late_bound_lifetime_arguments = "deny" missing_copy_implementations = "warn" missing_debug_implementations = "warn" patterns_in_fns_without_body = "deny" rust_2018_idioms = "deny" trivial_casts = "deny" trivial_numeric_casts = "deny" unreachable_pub = "deny" unsafe_op_in_unsafe_fn = "deny" unused_extern_crates = "deny" unused_qualifications = "warn" variant_size_differences = "warn"