#guard

  1. cfn-guard

    AWS CloudFormation Guard is an open-source general-purpose policy-as-code evaluation tool. It provides developers with a simple-to-use, yet powerful and expressive domain-specific language (DSL)…

    v3.2.0 1.2K #security-compliance #policy-as-code #security #compliance #guard
  2. cfn-guard-ffi

    AWS CloudFormation Guard is an open-source general-purpose policy-as-code evaluation tool. It provides developers with a simple-to-use, yet powerful and expressive domain-specific language (DSL)…

    v3.2.0 #cfn-guard #security-compliance #policy-as-code #security #guard
  3. llm-guard

    Zero-copy guardrails for LLM input/output. Pure-Rust scanners (prompt-injection, role-override, secret leakage, invisible text, token limit).

    v0.1.1 #prompt-injection #llm #security #guard
  4. agent-curl

    A curl wrapper that blocks outbound HTTP requests containing forbidden strings (e.g. private ticket IDs leaking to company infrastructure).

    v0.2.0 #curl #guard #security #wrapper #cli
  5. destructive_command_guard

    A Claude Code hook that blocks destructive commands before they execute

    v0.4.5 #destructive #hook #claude #guard #safety
  6. forkguard

    if guard.detected_fork() { ... }

    v0.1.3 3.3K #fork #detect #guard #forked #current-process #connection-pool
  7. rocket-oidc

    Rocket OpenID Connect utility crate, provides redirect route, and claims guard for OIDC

    v0.1.4 #openid-connect #rocket #claim #routes #guard #fetching
  8. rattler_prefix_guard

    A prefix guard (file lock) for rattler

    v0.1.0 5.6K #rattler #lock-files #prefix #conda #guard #python-bindings #flock
  9. github-guard

    Git & GitHub CLI Guard — prevent dangerous git/gh operations by AI agents

    v0.1.1 #github #git #safety #guard #github-cli
  10. philiprehberger-guard-clause

    Early-return guard clause macros for cleaner control flow

    v0.1.9 #early-return #macro #control-flow #error-handling #guard #flow-control
  11. ranvier-guard

    Guard nodes for Ranvier — HTTP security/policy Transitions replacing Tower middleware

    v0.44.0 #ranvier #middleware #guard
  12. guard

    Macro implementation of RFC 1303: a guard-let-else statement a la Swift

    v0.5.2 650 #if-statement #let #1303 #if
  13. bashguard

    Rule-based bash guard for your coding agent

    v0.1.1 #coding-agent #bash #rule-based #guard
  14. jmpln

    A tiny, ergonomic function patching crate focused on simple setup and RAII safety

    v0.1.0 #patch #tiny #safety #guard #raii #restore
  15. higuard

    rolling back resources when an error occurs during the operation

    v0.1.1 #guard #no-std
  16. prediction-guard

    SDK for the Prediction Guard API

    v0.14.0 1.3K #prediction #guard
  17. poison-guard

    maintaining sane state in the presence of panics and failures

    v0.1.0 150 #poison #guard
  18. guard-clause

    Syntactic sugar for writing simple guard clauses

    v1.0.0 110 #syntax-sugar #no-std #guard
  19. authkestra-guard

    Authentication guard and strategies for the authkestra framework

    v0.1.0 #authentication #middleware #guard
  20. tempref

    type whose value remains unchanged even when accessed through a mutable reference

    v0.3.0 #reset #buffer #scope #temp #guard
  21. guarded

    Guard macros

    v0.0.2 130 #guard #macro
  22. rocket-authorization

    Rocket.rs web servers to easily access and parse Authorization headers from requests

    v1.0.0 210 #authorization-header #authorization #guard
  23. scope-guard

    RAII scope guard

    v1.2.0 420 #guard #panic
  24. tmp_env

    lets you create temporary environment and be automatically restored/cleaned when not needed

    v0.1.1 2.3K #guard #drop #temp
  25. guarding

    guardians for code, architecture, layered. Guarding crate a architecture aguard DSL which based on ArchUnit.

    v0.2.6 #guard #dsl #guardians #arch-unit #layered #java #javascript #golang #aguard
  26. thread-guard

    thread guard

    v0.1.0 750 #thread #concurrency #guard
  27. try-guard

    A guard! macro inspired by the guard Alternative function from Haskell

    v0.2.0 160 #macro #guard #try
  28. ward

    ward! macro which returns the contents of an Option<T> and otherwise returns early, and a guard! macro, which does the same, but with a syntax more similar to Swift's guard syntax

    v2.1.0 #macro #guard #swift
  29. loop-guard

    A dev dependency for preventing infinte loops

    v1.0.0 #preventing #infinite #dev #cargo #guard
  30. chio-guard-sdk-macros

    Proc macro for Chio WASM guard SDK

    v0.1.0 #sdk #proc-macro #chio #guard #wasm #abi #no-mangle #deserialize #macro-attributes #verdict
  31. scopeguard-lite

    A lightweight way to defer execution of a block to the end of the scope, and to run code during an unwind

    v1.0.0 #defer #unwind #scope #panic #guard #no-alloc
  32. lest

    A modular approach to a web server. Based on actix-web.

    v0.2.1 220 #web-server #actix-web #guard #routes #route-response #host-port #rate-limiting #request-path #pin #rewrites
  33. Try searching with DuckDuckGo.

  34. trait_guard

    disallowing usage of certain trait implementations with custom messages

    v0.1.0 #traits #guard #rust #disallow
  35. beefeater

    Generic guard around any type that implements Copy

    v0.1.1 #generic #implements-copy #guard
  36. guarded-tls

    Guarded thread-local variables

    v0.1.0 #thread-local-storage #guard #thread-local
  37. stream-guard

    RAII wrapper around Stream that invokes a custom action on drop

    v1.0.0 #raii #action #stream #invoke #guard #stream-ext
  38. hyperdrive

    Declarative request routing and decoding with async support

    v0.2.0 #http-router #guard #async #router
  39. raii_flock

    Little library implementing a wrapper over a file that's locked on creation and unlocked when it goes out of scope

    v0.2.0 #raii #flock #file #guard #lock-guard
  40. arc-guard

    Guard around Arc<Mutex<T>> allowing you to write less boilerplate code

    v0.2.0 #arc-mutex #boilerplate #write #less #guard
  41. vivian-essentials

    vivian's essential utilities

    v0.1.0 #utilities #vivian #guard #io #sugar #nifty
  42. guarding_parser

    Guarding is a guardians for code, architecture, layered. Guarding crate a architecture aguard DSL which based on ArchUnit.

    v0.2.6 #guard #guardians #dsl #parser #arch-unit #aguard
  43. poison

    writing poisoned types

    v0.1.0 1.0K #structures #primitive #poisoning #guard #thread
  44. scoped

    Run deferred closures at success, failure, or exit of a scope. Also supports cancelling them

    v0.1.2 #defer #guard #scope
  45. guard_macros

    Convenient Rust guard macros

    v1.0.2 #macro #guard #replace #define #expr #pat
  46. boost_scope

    Boost C++ library boost_scope packaged using Zanbil

    v0.1.0 #boost #scopeguard #utilities #guard #zanbil #unit-testing
  47. deferrer

    defer! macro for deferring functions

    v0.1.4 #defer #macro #scope #guard #drop
  48. compilation-guard

    Force compilation to fail when certain condition is met

    v0.1.1 #compilation #guard #condition-met #fail #dead-code #unused-imports #lol
  49. warrant

    A Swift-guard-like macro for Rust

    v0.2.0 #macro #guard
  50. axum_guard_logic

    Compare extracted and expected data at the router layer with logic

    v0.3.3 #layer #guard #extracted #logic #compare #data-layer
  51. guarding_adapter

    Guarding is a guardians for code, architecture, layered. Guarding crate a architecture aguard DSL which based on ArchUnit.

    v0.1.0 #guard #guardians #dsl #arch-unit #architecture #aguard
  52. guarden-macros

    The procedural macro engine powering the guarden crate

    v0.1.3 #defer #guard #cleanup #scope
  53. process_guard

    Guard a process by terminating it on drop

    v0.2.0 #process #terminating #guard #drop #process-running
  54. guard_let

    guard let for rust

    v0.1.2 #eat-string #guard #struct #let #enums
  55. guarding_core

    Guarding is a guardians for code, architecture, layered. Guarding crate a architecture aguard DSL which based on ArchUnit.

    v0.2.7 #guard #guardians #dsl #arch-unit #architecture #aguard #cbindgen
  56. guarding_ident

    Guarding is a guardians for code, architecture, layered. Guarding crate a architecture aguard DSL which based on ArchUnit.

    v0.2.7 #guard #guardians #dsl #arch-unit #architecture #aguard #java
  57. packvet

    Local pre-install guard that reviews package release diffs before installs

    v0.0.1 #supply-chain-security #guard #security #supply-chain