litellm/litellm-rust/crates/core
Yujong Lee 1562339aab chore(rust): gate workspace against lock-across-await and undocumented unsafe
Inherits a [workspace.lints] table into all four crates:

- clippy::await_holding_lock (deny): a std::sync Mutex/RwLock guard held
  across .await blocks its Tokio worker and is one step from deadlock.
  Async-aware locking belongs to tokio::sync.
- clippy::await_holding_refcell_ref (deny): same failure mode for
  RefCell guards resumed on an arbitrary worker thread.
- clippy::undocumented_unsafe_blocks (warn): every future unsafe block
  must carry a SAFETY justification; the workspace currently has zero
  unsafe blocks, so this only gates what comes next (free-threading
  work, buffer protocol).
- rustc::unsafe_op_in_unsafe_fn (warn): unsafe operations inside unsafe
  fns need their own explicit unsafe block.
2026-09-03 09:53:45 -07:00
..
src test: add mistral ocr transformation parity coverage (#39482) 2026-09-02 20:40:00 -07:00
tests refactor(rust): extract domain-neutral Python interop 2026-09-02 12:16:26 -07:00
AGENTS.md refactor(rust): make litellm-core the callable messages() SDK; drop the ai-gateway handler (#35044) 2026-07-29 13:41:31 -07:00
Cargo.toml chore(rust): gate workspace against lock-across-await and undocumented unsafe 2026-09-03 09:53:45 -07:00
CLAUDE.md refactor(rust): make litellm-core the callable messages() SDK; drop the ai-gateway handler (#35044) 2026-07-29 13:41:31 -07:00