Cargo.toml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. [workspace]
  2. resolver = "2"
  3. members = [
  4. "src/sql-lexer-wasm",
  5. "src/sql-pretty-wasm",
  6. ]
  7. [workspace.package]
  8. edition = "2021"
  9. rust-version = "1.76.0"
  10. # BEGIN LINT CONFIG
  11. # DO NOT EDIT. Automatically generated by bin/gen-lints.
  12. [workspace.lints.rust]
  13. unknown_lints = "allow"
  14. non_local_definitions = "allow"
  15. unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bazel, stamped, coverage, nightly_doc_features, release, tokio_unstable)'] }
  16. [workspace.lints.rustdoc]
  17. [workspace.lints.clippy]
  18. style = { level = "allow", priority = -1 }
  19. complexity = { level = "allow", priority = -1 }
  20. large_enum_variant = { level = "allow", priority = 0 }
  21. result_large_err = { level = "allow", priority = 0 }
  22. mutable_key_type = { level = "allow", priority = 0 }
  23. stable_sort_primitive = { level = "allow", priority = 0 }
  24. map_entry = { level = "allow", priority = 0 }
  25. box_default = { level = "allow", priority = 0 }
  26. drain_collect = { level = "allow", priority = 0 }
  27. bool_comparison = "warn"
  28. clone_on_ref_ptr = "warn"
  29. no_effect = "warn"
  30. unnecessary_unwrap = "warn"
  31. dbg_macro = "warn"
  32. todo = "warn"
  33. zero_prefixed_literal = "warn"
  34. borrowed_box = "warn"
  35. deref_addrof = "warn"
  36. double_must_use = "warn"
  37. double_parens = "warn"
  38. extra_unused_lifetimes = "warn"
  39. needless_borrow = "warn"
  40. needless_question_mark = "warn"
  41. needless_return = "warn"
  42. redundant_pattern = "warn"
  43. redundant_slicing = "warn"
  44. redundant_static_lifetimes = "warn"
  45. single_component_path_imports = "warn"
  46. unnecessary_cast = "warn"
  47. useless_asref = "warn"
  48. useless_conversion = "warn"
  49. builtin_type_shadow = "warn"
  50. duplicate_underscore_argument = "warn"
  51. double_negations = "warn"
  52. unnecessary_mut_passed = "warn"
  53. wildcard_in_or_patterns = "warn"
  54. crosspointer_transmute = "warn"
  55. excessive_precision = "warn"
  56. panicking_overflow_checks = "warn"
  57. as_conversions = "warn"
  58. match_overlapping_arm = "warn"
  59. zero_divided_by_zero = "warn"
  60. must_use_unit = "warn"
  61. suspicious_assignment_formatting = "warn"
  62. suspicious_else_formatting = "warn"
  63. suspicious_unary_op_formatting = "warn"
  64. mut_mutex_lock = "warn"
  65. print_literal = "warn"
  66. same_item_push = "warn"
  67. useless_format = "warn"
  68. write_literal = "warn"
  69. redundant_closure = "warn"
  70. redundant_closure_call = "warn"
  71. unnecessary_lazy_evaluations = "warn"
  72. partialeq_ne_impl = "warn"
  73. redundant_field_names = "warn"
  74. transmutes_expressible_as_ptr_casts = "warn"
  75. unused_async = "warn"
  76. disallowed_methods = "warn"
  77. disallowed_macros = "warn"
  78. disallowed_types = "warn"
  79. from_over_into = "warn"
  80. mod_module_files = "warn"
  81. needless_pass_by_ref_mut = "warn"
  82. borrow_interior_mutable_const = "warn"
  83. or_fun_call = "warn"
  84. # END LINT CONFIG