# 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.79" name = "all-is-cubes-render" version = "0.8.0" authors = ["Kevin Reid "] description = "Raytracer and rendering abstractions for the all-is-cubes engine." readme = "README.md" categories = [ "games", "graphics", "rendering", ] license = "MIT OR Apache-2.0" repository = "https://github.com/kpreid/all-is-cubes" [package.metadata.docs.rs] all-features = true [lib] bench = false [[bench]] name = "raytrace" harness = false required-features = ["raytracer"] [dependencies.all-is-cubes] version = "0.8.0" default-features = false [dependencies.bitflags] version = "2.4" default-features = false [dependencies.displaydoc] version = "0.2.4" default-features = false [dependencies.embedded-graphics] version = "0.8.0" [dependencies.futures-core] version = "0.3.28" features = ["alloc"] default-features = false [dependencies.imgref] version = "1.10.1" [dependencies.indoc] version = "2.0.1" [dependencies.rayon] version = "1.8.0" optional = true [dev-dependencies.criterion] version = "0.5.1" features = [ "async_tokio", "cargo_bench_support", "html_reports", ] [dev-dependencies.tokio] version = "1.28.0" features = [ "macros", "rt", ] default-features = false [features] auto-threads = [ "std", "dep:rayon", ] default = ["std"] raytracer = [] std = ["all-is-cubes/std"] [lints.clippy] assigning_clones = "warn" cast_lossless = "warn" cast_possible_truncation = "allow" cast_possible_wrap = "warn" cast_precision_loss = "allow" cast_sign_loss = "allow" collapsible_else_if = "allow" collapsible_if = "allow" default_trait_access = "allow" doc_markdown = "warn" enum_glob_use = "allow" exhaustive_enums = "warn" exhaustive_structs = "warn" explicit_iter_loop = "allow" float_cmp = "allow" from_iter_instead_of_collect = "allow" if_not_else = "allow" inconsistent_struct_constructor = "warn" infinite_loop = "warn" inline_always = "allow" into_iter_without_iter = "warn" items_after_statements = "allow" iter_without_into_iter = "warn" large_futures = "warn" large_stack_frames = "warn" manual_assert = "allow" manual_let_else = "warn" many_single_char_names = "allow" map_unwrap_or = "warn" match_bool = "allow" match_ref_pats = "allow" match_same_arms = "allow" missing_errors_doc = "allow" missing_fields_in_debug = "warn" missing_panics_doc = "allow" module_name_repetitions = "allow" modulo_arithmetic = "warn" must_use_candidate = "allow" needless_pass_by_value = "warn" needless_update = "allow" no_effect_underscore_binding = "allow" option_as_ref_cloned = "warn" pub_without_shorthand = "warn" range_plus_one = "allow" redundant_closure_for_method_calls = "allow" redundant_else = "allow" return_self_not_must_use = "warn" semicolon_if_nothing_returned = "allow" shadow_unrelated = "allow" should_panic_without_expect = "deny" similar_names = "allow" single_match = "allow" single_match_else = "allow" struct_excessive_bools = "allow" suboptimal_flops = "warn" too_many_lines = "allow" trivially_copy_pass_by_ref = "warn" undocumented_unsafe_blocks = "warn" uninlined_format_args = "warn" unnecessary_self_imports = "warn" unnecessary_wraps = "warn" unreadable_literal = "allow" unused_async = "warn" wildcard_imports = "allow" wrong_self_convention = "warn" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] explicit_outlives_requirements = "warn" missing_debug_implementations = "warn" missing_docs = "warn" noop_method_call = "warn" redundant_lifetimes = "warn" trivial_casts = "warn" trivial_numeric_casts = "warn" unnameable_types = "warn" unsafe_op_in_unsafe_fn = "deny" unused_extern_crates = "warn" unused_lifetimes = "warn" unused_qualifications = "warn" [lints.rust.rust_2018_idioms] level = "deny" priority = -1