| 1 | [dependencies.portable-atomic] |
| 2 | default-features = false |
| 3 | features = ["require-cas"] |
| 4 | version = "1.5.1" |
| 5 | |
| 6 | [dev-dependencies.build-context] |
| 7 | version = "0.1" |
| 8 | |
| 9 | [features] |
| 10 | alloc = [] |
| 11 | default = [] |
| 12 | std = ["alloc"] |
| 13 | |
| 14 | [lib] |
| 15 | doc-scrape-examples = false |
| 16 | name = "portable_atomic_util" |
| 17 | path = "src/lib.rs" |
| 18 | |
| 19 | [lints.clippy] |
| 20 | all = "warn" |
| 21 | as_ptr_cast_mut = "warn" |
| 22 | as_underscore = "warn" |
| 23 | default_union_representation = "warn" |
| 24 | inline_asm_x86_att_syntax = "warn" |
| 25 | pedantic = "warn" |
| 26 | trailing_empty_array = "warn" |
| 27 | transmute_undefined_repr = "warn" |
| 28 | undocumented_unsafe_blocks = "warn" |
| 29 | |
| 30 | [lints.clippy.bool_assert_comparison] |
| 31 | level = "allow" |
| 32 | priority = 1 |
| 33 | |
| 34 | [lints.clippy.borrow_as_ptr] |
| 35 | level = "allow" |
| 36 | priority = 1 |
| 37 | |
| 38 | [lints.clippy.cast_lossless] |
| 39 | level = "allow" |
| 40 | priority = 1 |
| 41 | |
| 42 | [lints.clippy.declare_interior_mutable_const] |
| 43 | level = "allow" |
| 44 | priority = 1 |
| 45 | |
| 46 | [lints.clippy.doc_markdown] |
| 47 | level = "allow" |
| 48 | priority = 1 |
| 49 | |
| 50 | [lints.clippy.float_cmp] |
| 51 | level = "allow" |
| 52 | priority = 1 |
| 53 | |
| 54 | [lints.clippy.incompatible_msrv] |
| 55 | level = "allow" |
| 56 | priority = 1 |
| 57 | |
| 58 | [lints.clippy.lint_groups_priority] |
| 59 | level = "allow" |
| 60 | priority = 1 |
| 61 | |
| 62 | [lints.clippy.manual_assert] |
| 63 | level = "allow" |
| 64 | priority = 1 |
| 65 | |
| 66 | [lints.clippy.manual_range_contains] |
| 67 | level = "allow" |
| 68 | priority = 1 |
| 69 | |
| 70 | [lints.clippy.missing_errors_doc] |
| 71 | level = "allow" |
| 72 | priority = 1 |
| 73 | |
| 74 | [lints.clippy.module_name_repetitions] |
| 75 | level = "allow" |
| 76 | priority = 1 |
| 77 | |
| 78 | [lints.clippy.naive_bytecount] |
| 79 | level = "allow" |
| 80 | priority = 1 |
| 81 | |
| 82 | [lints.clippy.nonminimal_bool] |
| 83 | level = "allow" |
| 84 | priority = 1 |
| 85 | |
| 86 | [lints.clippy.range_plus_one] |
| 87 | level = "allow" |
| 88 | priority = 1 |
| 89 | |
| 90 | [lints.clippy.similar_names] |
| 91 | level = "allow" |
| 92 | priority = 1 |
| 93 | |
| 94 | [lints.clippy.single_match] |
| 95 | level = "allow" |
| 96 | priority = 1 |
| 97 | |
| 98 | [lints.clippy.single_match_else] |
| 99 | level = "allow" |
| 100 | priority = 1 |
| 101 | |
| 102 | [lints.clippy.struct_excessive_bools] |
| 103 | level = "allow" |
| 104 | priority = 1 |
| 105 | |
| 106 | [lints.clippy.struct_field_names] |
| 107 | level = "allow" |
| 108 | priority = 1 |
| 109 | |
| 110 | [lints.clippy.too_many_arguments] |
| 111 | level = "allow" |
| 112 | priority = 1 |
| 113 | |
| 114 | [lints.clippy.too_many_lines] |
| 115 | level = "allow" |
| 116 | priority = 1 |
| 117 | |
| 118 | [lints.clippy.type_complexity] |
| 119 | level = "allow" |
| 120 | priority = 1 |
| 121 | |
| 122 | [lints.clippy.unreadable_literal] |
| 123 | level = "allow" |
| 124 | priority = 1 |
| 125 | |
| 126 | [lints.rust] |
| 127 | deprecated_safe = "warn" |
| 128 | improper_ctypes = "warn" |
| 129 | improper_ctypes_definitions = "warn" |
| 130 | non_ascii_idents = "warn" |
| 131 | rust_2018_idioms = "warn" |
| 132 | single_use_lifetimes = "warn" |
| 133 | unreachable_pub = "warn" |
| 134 | |
| 135 | [lints.rust.unexpected_cfgs] |
| 136 | check-cfg = ['cfg(target_arch,values("xtensa"))', 'cfg(target_os,values("psx"))', 'cfg(target_env,values("psx"))', 'cfg(target_feature,values("lse2","lse128","rcpc3"))', 'cfg(target_feature,values("quadword-atomics"))', 'cfg(target_feature,values("zaamo","zabha"))', 'cfg(target_pointer_width,values("128"))', "cfg(portable_atomic_test_outline_atomics_detect_false,qemu,valgrind)", "cfg(portable_atomic_no_outline_atomics,portable_atomic_outline_atomics)", "cfg(portable_atomic_unstable_coerce_unsized)"] |
| 137 | level = "warn" |
| 138 | priority = 0 |
| 139 | |
| 140 | [package] |
| 141 | autobenches = false |
| 142 | autobins = false |
| 143 | autoexamples = false |
| 144 | autotests = false |
| 145 | categories = ["concurrency", "data-structures", "embedded", "no-std"] |
| 146 | description = """ |
| 147 | Synchronization primitives built with portable-atomic. |
| 148 | """ |
| 149 | edition = "2018" |
| 150 | keywords = ["atomic"] |
| 151 | license = "Apache-2.0 OR MIT" |
| 152 | name = "portable-atomic-util" |
| 153 | readme = "README.md" |
| 154 | repository = "https://github.com/taiki-e/portable-atomic" |
| 155 | rust-version = "1.34" |
| 156 | version = "0.2.4" |
| 157 | |
| 158 | [package.metadata.cargo_check_external_types] |
| 159 | allowed_external_types = [] |
| 160 | |
| 161 | [package.metadata.docs.rs] |
| 162 | all-features = true |
| 163 | targets = ["x86_64-unknown-linux-gnu"] |