# 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 = "peniko" version = "0.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Primitive types for styling vector graphics" readme = "README.md" keywords = [ "graphics", "vector", "style", ] categories = ["graphics"] license = "Apache-2.0 OR MIT" repository = "https://github.com/linebender/peniko" [package.metadata.docs.rs] features = ["serde"] [lib] name = "peniko" path = "src/lib.rs" [dependencies.kurbo] version = "0.11.1" default-features = false [dependencies.serde] version = "1.0.210" features = [ "alloc", "derive", ] optional = true default-features = false [dependencies.serde_bytes] version = "0.11.15" features = ["alloc"] optional = true default-features = false [dependencies.smallvec] version = "1.13.2" [features] default = ["std"] libm = ["kurbo/libm"] mint = ["kurbo/mint"] serde = [ "smallvec/serde", "kurbo/serde", "dep:serde_bytes", "dep:serde", ] std = ["kurbo/std"] [lints.clippy] allow_attributes_without_reason = "warn" collection_is_never_read = "warn" dbg_macro = "warn" debug_assert_with_mut_call = "warn" doc_markdown = "warn" fn_to_numeric_cast_any = "forbid" infinite_loop = "warn" large_include_file = "warn" large_stack_arrays = "warn" match_same_arms = "warn" mismatching_type_param_order = "warn" missing_assert_message = "warn" missing_errors_doc = "warn" missing_fields_in_debug = "warn" missing_panics_doc = "warn" partial_pub_fields = "warn" return_self_not_must_use = "warn" same_functions_in_if_condition = "warn" semicolon_if_nothing_returned = "warn" shadow_unrelated = "warn" should_panic_without_expect = "warn" todo = "warn" unseparated_literal_suffix = "warn" use_self = "warn" wildcard_imports = "warn" [lints.clippy.cargo] level = "warn" priority = -1 [lints.rust] elided_lifetimes_in_paths = "warn" keyword_idents_2024 = "forbid" let_underscore_drop = "warn" missing_debug_implementations = "warn" missing_docs = "warn" non_ascii_idents = "forbid" non_local_definitions = "forbid" single_use_lifetimes = "warn" trivial_numeric_casts = "warn" unexpected_cfgs = "warn" unit_bindings = "warn" unnameable_types = "warn" unreachable_pub = "warn" unsafe_code = "forbid" unsafe_op_in_unsafe_fn = "forbid" unused_import_braces = "warn" unused_lifetimes = "warn" unused_macro_rules = "warn" unused_qualifications = "warn" variant_size_differences = "warn"