| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2024" |
| 14 |
rust-version = "1.88" |
| 15 |
name = "fearless_simd" |
| 16 |
version = "0.4.1" |
| 17 |
authors = ["Raph Levien <[email protected]>"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "Safer and easier SIMD" |
| 25 |
readme = "README.md" |
| 26 |
keywords = ["simd"] |
| 27 |
categories = ["hardware-support"] |
| 28 |
license = "Apache-2.0 OR MIT" |
| 29 |
repository = "https://github.com/linebender/fearless_simd" |
| 30 |
resolver = "2" |
| 31 |
|
| 32 |
[package.metadata.docs.rs] |
| 33 |
all-features = true |
| 34 |
|
| 35 |
[features] |
| 36 |
default = ["std"] |
| 37 |
force_support_fallback = [] |
| 38 |
libm = ["dep:libm"] |
| 39 |
safe_wrappers = [] |
| 40 |
std = [] |
| 41 |
|
| 42 |
[lib] |
| 43 |
name = "fearless_simd" |
| 44 |
path = "src/lib.rs" |
| 45 |
|
| 46 |
[[example]] |
| 47 |
name = "play" |
| 48 |
path = "examples/play.rs" |
| 49 |
|
| 50 |
[[example]] |
| 51 |
name = "sigmoid" |
| 52 |
path = "examples/sigmoid.rs" |
| 53 |
|
| 54 |
[[example]] |
| 55 |
name = "srgb" |
| 56 |
path = "examples/srgb.rs" |
| 57 |
|
| 58 |
[dependencies.libm] |
| 59 |
version = "0.2.15" |
| 60 |
optional = true |
| 61 |
|
| 62 |
[lints.clippy] |
| 63 |
allow_attributes_without_reason = "warn" |
| 64 |
cargo_common_metadata = "warn" |
| 65 |
cast_possible_truncation = "warn" |
| 66 |
cast_possible_wrap = "warn" |
| 67 |
collection_is_never_read = "warn" |
| 68 |
dbg_macro = "warn" |
| 69 |
debug_assert_with_mut_call = "warn" |
| 70 |
default_trait_access = "warn" |
| 71 |
doc_markdown = "warn" |
| 72 |
fn_to_numeric_cast_any = "warn" |
| 73 |
infinite_loop = "warn" |
| 74 |
large_stack_arrays = "warn" |
| 75 |
mismatching_type_param_order = "warn" |
| 76 |
missing_assert_message = "warn" |
| 77 |
missing_fields_in_debug = "warn" |
| 78 |
negative_feature_names = "warn" |
| 79 |
redundant_feature_names = "warn" |
| 80 |
same_functions_in_if_condition = "warn" |
| 81 |
semicolon_if_nothing_returned = "warn" |
| 82 |
should_panic_without_expect = "warn" |
| 83 |
todo = "warn" |
| 84 |
too_many_arguments = "allow" |
| 85 |
uninlined_format_args = "allow" |
| 86 |
unseparated_literal_suffix = "warn" |
| 87 |
use_self = "warn" |
| 88 |
wildcard_dependencies = "warn" |
| 89 |
|
| 90 |
[lints.rust] |
| 91 |
elided_lifetimes_in_paths = "warn" |
| 92 |
keyword_idents_2024 = "forbid" |
| 93 |
missing_debug_implementations = "warn" |
| 94 |
missing_docs = "warn" |
| 95 |
non_ascii_idents = "forbid" |
| 96 |
non_local_definitions = "forbid" |
| 97 |
trivial_numeric_casts = "warn" |
| 98 |
unnameable_types = "warn" |
| 99 |
unreachable_pub = "warn" |
| 100 |
unsafe_op_in_unsafe_fn = "forbid" |
| 101 |
unused_import_braces = "warn" |
| 102 |
unused_lifetimes = "warn" |
| 103 |
unused_macro_rules = "warn" |
| 104 |
unused_qualifications = "warn" |