#unsafe

  1. uninit

    A collection of tools for a safer usage of uninitialized memory

    v0.6.2 164K #uninitialized-memory #maybe-uninit #unsafe #read #sound
  2. unsafe-libyaml

    libyaml transpiled to rust by c2rust

    v0.2.11 2.6M #yaml #unsafe #c2rust #libyaml #transpiled #translated
  3. psm

    Portable Stack Manipulation: stack manipulation and introspection routines

    v0.1.24 1.4M #stack #portable #introspection #routines #unsafe #abstraction #safe
  4. kani-verifier

    A bit-precise model checker for Rust

    v0.57.0 3.9K #memory-safety #model-checking #verification #unsafe #verifier #bit-precise #assertions
  5. va_list

    'va_list' type for a small set of ABIs. Allowing rust implementations of functions like vprintf.

    v0.2.0 21K #unsafe #arguments #c #ffi
  6. raw-parts

    Ergonomic wrapper around Vec::from_raw_parts and Vec::into_raw_parts

    v2.2.0 1.1K #raw-pointers #vec #unsafe #ffi #vector #no-std
  7. tinyrlibc

    Tiny, incomplete C library for bare-metal targets, written in Stable (but Unsafe) Rust

    v0.5.0 170 #bare-metal #embedded #libc #unsafe #tiny #stable #newlib
  8. geiger

    Some library parts of cargo-geiger, decoupled from cargo

    v0.4.12 800 #unsafe #cargo #decoupled #cargo-geiger #parts #detect #details
  9. safe-gc

    A garbage collection library with zero unsafe code and zero dependencies

    v1.1.1 #garbage-collection #heap #zero #gc #object #unsafe #reference
  10. unsafe-fields

    unsafe to access or modify fields with safety invariants

    v0.2.1 #unsafe #fields #invariants #safety #swapping #different #information
  11. unsafe-libopus

    libopus transpiled to rust by c2rust

    v0.2.0 #libopus #c2rust #transpiled #unsafe #translation #linker #called
  12. unsafe-libyaml-norway

    libyaml transpiled to rust by c2rust

    v0.2.15 11K #yaml #c2rust #unsafe #libyaml #transpiled
  13. light_ranged_integers

    Ranged integers for stable Rust compiler, zero-dependencies and no unsafe code

    v0.1.3 #range #compile-time #ranged #integer #stable #unsafe #compiler
  14. abomonation

    A high performance and very unsafe serialization library

    v0.7.3 10K #serialization #binary-data #encode-decode #unsafe #byte #performance #pointers
  15. bitfrob

    A sibling crate for bytemuck, this is where forbid(unsafe_code) utilities live

    v1.3.2 550 #bit #bytemuck #bits #unsafe #frob
  16. unsafe_cell_slice

    A microlibrary for creating multiple mutable references to a slice

    v0.2.1 1.5K #slice #unsafe #unsafecell
  17. skiplist-rust

    A lockless skiplist implementation in Rust

    v0.3.0 120 #skip-list #lock-free #lockless #unsafe #arena-allocator #data-structures #key-value-store
  18. relib_exportify

    relib is a framework for reloadable dynamic libraries

    v0.2.3 700 #relib #dynamic #reloadable #framework #live-reload #unsafe
  19. linux-unsafe

    Raw linux system call stubs

    v0.12.0 #linux-kernel #syscalls #call #low-level #stub #raw #unsafe
  20. maybe-uninit-ext

    Extended maybe-uninit types

    v0.7.0 150 #maybe-uninit #uninit #safe #unsafe #no-alloc
  21. maybe-dangling

    ManuallyDrop<T> and MaybeDangling<T> semantics in stable Rust as per https://github.com/rust-lang/rfcs/pull/3336

    v0.1.1 #aliasing #unsafe #dangling #dereferenceable #manually-drop #github
  22. assume

    Macro for stating unsafe assumptions in Rust

    v0.5.0 1.5K #compiler-optimization #unsafe #macro #assert #invariants #run-time #bounds
  23. libabort

    A abort function that doesn't require the standard library

    v0.1.9 #abort #standard #libc #unsafe #process #panic #std
  24. cargo-geiger

    Detects usage of unsafe Rust in a Rust crate and its dependencies

    v0.11.7 380 #unsafe #cargo-plugin #cargo #plugin
  25. unsend

    A thread unsafe runtime for thread unsafe people

    v0.2.1 #thread-synchronization #run-time #thread-safe #async #shared-data #multi-threading #unsafe
  26. xitca-unsafe-collection

    unsafe keyword enabled utilities for xitca

    v0.2.0 500 #xitca-web #xitca #unsafe #collection #utilities #enabled #utility
  27. drop-tracker

    check when a variable gets dropped. Useful for testing wrappers and containers that use unsafe memory management.

    v0.1.3 #memory-management #testing #drop #unit-testing #container #unsafe #variables
  28. gbm-sys

    Bindgen generated unsafe libgbm wrapper

    v0.4.0 31K #bindings #buffer #gbm #unsafe #unsafe-bindings #memory-management #libgbm
  29. unchecked-std

    some methods from the Rust standard library without some checks

    v1.0.1 #unchecked #performance #unsafe #fast #debug-mode #debugging #require
  30. unwind_safe

    Readable unwind-safe code thanks to a try-finally-looking builder pattern

    v0.1.0 81K #builder-pattern #exception #unwind #safety #unsafe #finally
  31. siderophile

    Find the ideal fuzz targets in a Rust codebase

    v0.2.1 #security-testing #fuzz-target #unsafe #codebase #find #fuzzing #callgraph
  32. fftw-sys

    unsafe wrapper of FFTW3

    v0.8.0 5.5K #fft #fftw #transform #unsafe #computing #fftw3 #binding
  33. cffi

    Safe* C FFI interface generation

    v0.1.7 220 #foreign-interface #proc-macro #framework #generation #marshal #unsafe #functions
  34. ark-api-ffi

    Ark low-level Wasm FFI API

    v0.17.0-pre.43 #wasm-module #ark #low-level #abi #unsafe #host #user
  35. oneshot-handshake

    providing a symmetric one time use channel type

    v0.1.5 #channel #bidirectional #linear #symmetric #handshake #time #unsafe
  36. owa4x

    Idiomatic wrapper around the owa4x-sys crate

    v0.4.12 #idiomatic #unsafe #owa4x-sys
  37. sensitive

    Memory allocator for sensitive information

    v0.10.3 #memory-allocator #security #information #foreign-interface #data #traits #unsafe
  38. super_cell

    A super (unsafe) cell that also implements send and sync regardless of the inner type's send/sync

    v0.1.1 #cell #unsafe #parallel #mutability #behavior
  39. microstack

    The simplest and the fastest implementation of a fixed-size stack on stack

    v0.0.7 #stack #stack-memory #memory #fixed-size #performance #unsafe #fastest
  40. cargo-geiger-serde

    TODO: Write description

    v0.2.5 650 #unsafe #cargo-geiger #output #detect #report #types
  41. odd_is_odd

    A very (not) safe library to check if a number is odd. Based on cve-rs.

    v0.2.1 #odd #unsafe #bug #compiler #transmute #cve-rs #i8
  42. pre

    Compile-time assistance for working with unsafe code

    v0.2.1 950 #unsafe #compile-time #safety #zero-cost #memory-safety #compiler-error #no-std
  43. promise-unsafe

    Something help you avoid unsafe:)

    v0.1.0 #unsafe #promise #dont #again #help
  44. stuff

    Stuffing things into pointers

    v0.2.0 #pointers #provenance #bit-packing #unsafe #tagging #back-end #fixed-size
  45. invalidstring

    just for testing invalid string data

    v0.1.3 #string #testing #data #invalid #unsafe #gitui #async
  46. grounded

    A toolkit for managing unsafe statics

    v0.2.0 420 #static #unsafe #abstraction #sound #blocks #reduction #behavior
  47. ipopt-sys

    Raw unsafe Rust bindings to the Ipopt non-linear optimization library

    v0.6.0 #ipopt #optimization #non-linear #constrained #unsafe
  48. dropcount

    Count destructor calls

    v0.1.2 #smart-pointers #memory #drop #memory-leaks #destructor #calls #unsafe
  49. generic-str

    Annoyed that Rust has two string types? Well it doesn't any more

    v0.3.1 #string #byte #byte-slice #types #owned #annoyed #unsafe
  50. gtk4-layer-shell-sys

    Unsave gir-generated FFI bindings for gtk4-layer-shell

    v0.3.0 5.0K #gtk4 #gtk4-layer-shell #wayland #unsafe #ffi
  51. phidget-sys

    Low-level, unsafe, Rust wrapper for the phidget22 library

    v0.1.4 #low-level #unsafe #embedded #phidget #phidget22 #set #devices
  52. unsafe_unwrap

    Unsafely unwrap Result and Option types without checking

    v0.1.0 13K #unwrap #unsafe #result #options
  53. irox-unsafe

    irox (unsafe) Rust Tools & Libraries

    v0.1.2 #unsafe #irox #api-wrapper #winapi #linux-api #aerospace #syscalls
  54. unsafe-any

    Traits and implementations for unchecked downcasting

    v0.4.2 71K #downcast #traits #objects #unsafe #concrete #defines #unchecked
  55. cargo-whynot

    Cargo subcommand to discover why a function is unsafe

    v0.1.2 #unsafe #nightly #cargo-subcommand #union
  56. drm-rs

    (WIP) libdrm bindings to be able to use Kernel Mode Setting on Linux

    v0.1.3 100 #drm #linux #kms #unsafe #libdrm #unsafe-bindings
  57. unsafe-send-sync

    Unsafe wrappers for making structs Send and/or Sync

    v0.1.0 190 #send-sync #send #sync #unsafe #wrapper
  58. count-unsafe

    Recursively count unsafe Rust code in a given path

    v0.1.1 #unsafe #count #path #recursion
  59. genz

    Uniqueness of types via invariant lifetimes

    v0.4.0 170 #lifetime #invariants #marker #safety #uniqueness #types #unsafe
  60. unsafe-io

    has been renamed to io-extras

    v0.11.0 310 #renamed #unsafe #io-extras
  61. machinecode

    Execute machine code in hex form

    v1.0.1 #jit #hex #machine #unsafe #execute #forms #go
  62. unsafe-any-ors

    Traits and implementations for unchecked downcasting

    v1.0.0 178K #traits #downcast #objects #unsafe #unchecked #type #reference
  63. unsafe_list

    基于 linux 的 list 实现

    v0.1.1 #list #linux #unsafe #head #实现 #
  64. filament-bindings

    This package provides build scripts and prebuilt binaries for filament on Windows, macOS, Linux, and the unsafe binding interface automatically generated by rust-bindgen

    v0.2.2 240 #testing #script #automatic #binaries #unsafe #binding #linux
  65. rust_hero

    Rust assistant that utilizes NLP to enhance the quality of rust code

    v0.5.2 #nlp #unsafe #lifetime
  66. abort_on_panic

    Intercept panic! from unsafe locations and abort the process

    v2.0.0 1.5K #panic #applications #abort #process #unsafe #locations #callback
  67. cobhan

    FFI is a system for enabling shared code to be written in Rust and consumed from all major languages/platforms in a safe and effective way, using easy helper functions to manage any unsafe data marshaling

    v0.1.1 #data #shared #marshalling #safe #helper #buffer #unsafe
  68. shut_up

    Use trust_me、shut_up or other keywords replace 'unsafe'. Compiler shut up! Readers shut up too! My code has no bugs, trust me!

    v0.1.1 #up #unsafe #replace #trust #reader #bug #shut
  69. rusty_malloc

    A multithreaded yet simple memory allocator written in Rust

    v0.2.1 #memory-allocator #multi-threading #unsafe #malloc #resources
  70. Try searching with DuckDuckGo.

  71. reference-box

    Allows developers to pass non-owned references to Rust-allocated structures over ffi

    v1.1.0 #unsafe #structures #ffi #reference #pass
  72. umath

    ffast-math in rust

    v0.0.7 #unsafe #float #ffast-math #performance #fast #math
  73. project-uninit

    Macros for safe references to and initialization of fields in MaybeUninit structs

    v0.1.1 #uninit #macro #unsafe #uninitialized #macros #struct-fields
  74. safebox

    Lower the risk of leaving secret around in memory

    v0.1.0 #secret #memory #memzero #leaving #less #leaks #unsafe
  75. bointer

    Assorted pointer-related utilities

    v0.2.0 #pointers #unsafe #pointer
  76. mumblelink_reader

    Mumblelink reader for Windows & Unix based operating systems

    v0.3.5 #mumble #unsafe #mumblelink #game #os
  77. you-can

    #[you_can::turn_off_the_borrow_checker]

    v0.0.14 #borrow #checker #off #turn #unsafe
  78. sendify

    An unsafe crate to wrap a reference to make it Send Sync

    v1.1.0 #send-sync #sync #send #unsafe #rust
  79. uncon

    Traits for unchecked conversions between types

    v1.1.0 #unchecked #unsafe #convert
  80. bucket

    Offers a very simple container for any value without mutation

    v1.0.0 #container #value #offers #mutation #fun #unsafe #libc
  81. composefs-sys

    wrapping the libcomposefs C library

    v0.1.3 #composefs #libcomposefs #low-level #style #unsafe #linking #maintained
  82. sealingslice

    A mutable slice that can seal its initial part off from mutability, and hand out the sealed parts as immutable references

    v0.2.0 #slice #immutability #unsafe #no-std #interior
  83. hubs

    The horribly unsafe buffer structure

    v0.1.1 #structure #chunks #buffer #unsafe #performance #refer #game
  84. borrowck_sacrifices

    Necessary sacrifices to keep the Borrow Checker happy and developers sane

    v0.1.0 #borrow #unsafe #mutable
  85. clonable_trait_object

    clonar objectos traits sin usar unsafe

    v0.1.1 #unsafe #traits #object #clone #clonable #sin #clonar
  86. localize

    Localization library

    v0.2.0 #localization #web #warnings #unsafe #magic #mainly #hello-world
  87. uninitialized

    Opt-in unsafe uninitialized memory

    v0.0.2 3.0K #uninitialized-memory #unsafe #memory #zeroed #nue
  88. guerrilla

    (or Monkey) Patching in Rust for (unsafe) fun and profit

    v0.1.4 #patching #monkey #unsafe #fun #profit #testing
  89. unsafe_ls

    list unsafe blocks and the unsafe actions within them, to enable easier auditing of regions that need extra-careful examination

    v0.1.0 #unsafe #audit #tool #action
  90. memdump

    Handy unsafe no_std memory dumper utility library written in Rust

    v0.1.3 #unsafe #hex-dump #no-std
  91. pi_heap

    Thread unsafe heap, which supports rapid location adjustment or deletion according to the index

    v0.1.0 #heap #pi #index #unsafe #deletion #rapid #location
  92. reduce_unsafe

    Reduce unsafe code and detect soundness bugs with equivalence checks against safe code

    v0.1.0 #unsafe #reduce #check #bug #safe #equivalence #detect
  93. freelist

    datastructure implementation providing unsafe access to backing storage

    v0.1.0 #unsafe #data-structures #backing #access
  94. trust_me

    Just replace unsafe keyword to safe! macro. Always trust programmers.

    v0.1.1 #trust #macro #safe #unsafe #programmers #alloc #wrap
  95. trustme

    Tell the compiler that you can be trusted to write unsafe code!

    v1.0.1 #trusted #unsafe #tell #compiler #write
  96. unsafe-access

    macros for skipping bounds checks via get_unchecked(..)

    v0.1.1 #unsafe #check #bounds #access #macro #indices #skipping
  97. into_inner_drop

    A helper library for implementing into_inner method for drop types safely

    v0.1.0 #drop #unsafe #wrapper #into-inner
  98. safe

    A #[safe] attribute for explaining why unsafe { ... } is OK.

    v0.1.0 #unsafe #soundness #attributes #ok #why #explaining #ensure
  99. noise_perlin

    Improved perlin noise in 2D and 3D

    v1.0.0 #perlin-noise #2d-3d #unsafe
  100. compiler-test-derive

    A macro to generate easily tests across compilers and engines

    v2.4.3 #fn #unsafe #body #safety #hygiene
  101. unsafer

    Convenience library for Unsafe Rust

    v0.1.1 #unsafe #low-level #less #readable #error #collection #trick
  102. unsafe_from

    Unsafe versions of standard library From<T> and Into<T>

    v1.0.0 #unsafe #standard #version #i32 #from-t #into-t #my-unsafe-type
  103. trust-me-2

    A convenient macro to tell the Rust compiler that you know better and to leave you alone regarding unsafe code

    v0.2.0 #unsafe #macro #trust-me
  104. unsafe-ref

    Allow raw pointer access without those pesky unsafe blocks everywhere!

    v1.0.0 #unsafe #pointers #access #everywhere #blocks #pesky #set
  105. unsaef

    Macros to erase scope information from tokens

    v0.1.2 #scope #macro #information #erase #tokens #unsafe #no-alloc
  106. sus

    A declarative macro that wraps any input with an unsafe block

    v0.1.1 #declarative-macro #unsafe #block #wraps #input
  107. foot-gun

    Friendly aliases for your unsafe code

    v0.1.0 #joke #aliases #unsafe #friendly #twitter #macro
  108. unsafety

    annotations for describing and auditing usages of unsafe code in Rust

    v0.1.0 #unsafe #annotations #auditing #describing #reason #effect #unsafe-because
  109. relib_export

    relib is a framework for reloadable dynamic libraries

    v0.2.3 650 #relib #dynamic #reloadable #framework #live-reload #unsafe #documentation
  110. block_effects

    A macro to chain block effects

    v0.1.1 #indentation #effect #block #unsafe #proc-macro
  111. raw

    unsafely manipulating raw representations in Rust

    v0.0.6 #representation #unsafe #ptr #data #raw-pointers #slice #methods
  112. shared-memory-allocator

    An extremely unsafe experiment in writing a custom allocator to use linux shared memory

    v0.1.0 #shared-memory #unsafe #memory-allocator #experiment #linux #extremely
  113. nsf-imgui-raw

    Alternative (personal) imgui rust bindings, unsafe ffi part

    v0.1.0 #imgui #personal #bindings #part #unsafe
  114. safe_attr

    An attribute #[safe] to mark functions, allowing the ommission of unsafe

    v1.0.0 #attributes #safe #unsafe #attribute
  115. pointer

    easier to iterate on pointers

    v0.0.2 #pointers #raw-pointers #unsafe #raw
  116. haque

    An abomination for messing with memory

    v0.1.0 #memory #unsafe #management #memory-management #hacks #abomination #messing
  117. cargo-osha

    A small utility to count the uses of unsafe code in a Rust program

    v0.1.1 #unsafe
  118. extend-lifetime

    A slightly safer means to extend lifetime than calling std::mem::transmute directly

    v0.2.0 100 #lifetime #unsafe #static #lifetimes
  119. assertions

    const assertions mechanism

    v0.1.0 350 #mechanism #size #compile-time #assert #properties #unsafe #particular
  120. fake-static

    rustc hates him! Sidestep borrow checking with this weird trick (no unsafe inside)

    v0.1.0 #unsafe #borrow #trick #rustc #checking #behavior #sidestep
  121. unsafe_fn

    macro to mark a function as unsafe without its body being unsafe

    v0.1.2 #unsafe #macro #body #block #mark #fn #i32