#unsafe

  1. ouroboros

    Easy, safe self-referential struct generation

    v0.18.5 4.0M #self-referential #struct-generation #macro #safe #unsafe #struct-builder
  2. uninit

    A collection of tools for a safer usage of uninitialized memory

    v0.6.2 367K #maybe-uninit #unsafe #sound #read
  3. va_list

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

    v0.2.1 64K #c #unsafe #ffi
  4. tinyrlibc

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

    v0.5.1 1.2K #bare-metal #embedded #target #unsafe #symbols #libc #binary-interface
  5. maybe-dangling

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

    v0.1.2 13K #manually-drop #unsafe #dereferenceable #aliasing #dangling
  6. esaxx-rs

    Wrapping around sentencepiece's esaxxx library

    v0.1.10 849K #suffix-array #sentence-piece #cpp #unsafe
  7. columnation

    Unsafe columnar containers for native Rust types

    v0.1.2 5.5K #allocation #container #unsafe #vec #record #columnar-data
  8. geiger

    Some library parts of cargo-geiger, decoupled from cargo

    v0.5.0 10K #unsafe #part
  9. grounded

    A toolkit for managing unsafe statics

    v0.2.1 6.4K #unsafe #embedded #building-block #static #toolkit #sound-abstraction
  10. hyper_byte

    An unsafe, near-zero cost (1-2 instructions) byte transmuter to numeric types with fast byte reader, writer, and read-writer

    v0.7.0 800 #unsafe #numeric #byte
  11. craturn

    interpretation of the 'Saturn Devouring His Son' painting

    v1.0.0 #joke #unsafe #saturn #allocator #devoring
  12. safe-manually-drop

    ManuallyDrop “owned field” pattern with no unsafe, no .unwrap()s, no macros

    v0.1.1 #manually-drop #unsafe #pattern #safe
  13. drop-with-owned-fields

    Safe and sound owned access to a struct’s fields in Drop: no more unsafe usage of ManuallyDrop!

    v0.1.2 #manually-drop #struct #sound #unsafe #owned
  14. prudent

    Help you make Rust code safer. For both authors and reviewers.

    v0.0.3-beta #unsafe #safe #isolation #review #no-alloc
  15. corroded-rs

    that bypasses Rust's safety features

    v0.3.0 #memory-safety #unsafe
  16. linux-unsafe

    Raw linux system call stubs

    v0.12.1 600 #syscalls #linux #linux-kernel #stub #unsafe #x86-64 #linux-kernel-interface #linux-syscalls #32-bit #riscv64
  17. phylactery

    Safe and thin wrappers around lifetime extension to allow non-static values to cross static boundaries

    v2.0.9 #lifetime #pin #extension #unsafe #static
  18. debug_unsafe

    Uses debug-assertions as a switch of safe/unsafe behaviour

    v0.1.4 447K #unsafe #unchecked #unwrap #arraystring
  19. count-unsafe

    Recursively count unsafe Rust code in a given path

    v0.1.2 120 #unsafe
  20. unsafe-tools-mimic

    Size and alignment matched opaque types

    v0.1.2 17K #alignment #unsafe #mimic #size #opaque
  21. unsafe-libopus

    libopus transpiled to rust by c2rust

    v0.2.0 2.1K #c2rust #libopus #unsafe #shape
  22. unsafe_cell_slice

    A microlibrary for creating multiple mutable references to a slice

    v0.2.2 5.6K #unsafe-cell #slice #unsafe
  23. stackaroo

    Swap out of the OS-provided stack

    v1.2.0 #unsafe #stack #macro #utilities #macro-utilities
  24. unwind_safe

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

    v0.1.0 174K #unsafe #exception #safety #finally #unwind
  25. cargo-geiger

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

    v0.13.0 9.5K #cargo-subcommand #unsafe
  26. modu_ffi

    FFI library for modu

    v1.1.2 270 #modu #integer #unsafe #no-mangle #argv #programming-language #argc #coding-language
  27. raw-parts

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

    v2.2.0 #vec #ffi #unsafe
  28. unsafe-tools

    A collection of tools making safer unsafe Rust

    v0.1.2 17K #unsafe #safer #collection
  29. revel_cell

    v0.1.3 #arc #unsafe-cell #unsafe #cell
  30. owa4x

    Idiomatic wrapper around the owa4x-sys crate

    v0.4.15 1.5K #idiomatic #unsafe #far #handful #hide
  31. manually-static

    ManualStatic that is a wrapper which allows to manually manage 'static lifetimes. It is unsafe but with debug_assertions it panics when the usage is wrong

    v1.2.0 210 #unsafe #lifetime #static #memory-management
  32. unsafe-budget

    keeps the unsafety demons out. an unsafe code budget gate for CI pipelines.

    v0.1.1 #unsafe #ci #lint #audit #security
  33. borrowck_sacrifices

    Necessary sacrifices to keep the Borrow Checker happy and developers sane

    v0.2.0 #borrow-checker #unsafe #borrow #mutable
  34. merc_unsafety

    Internal MERC toolset package containing various utility functions that use unsafe code blocks

    v1.0.0 #unsafe #utility #merc #block #containing
  35. praborrow-logistics

    Zero-copy buffer abstraction. Handles raw byte streams without allocation overhead.

    v1.2.2 #zero-copy-buffer #unsafe #zero-copy #networking
  36. unsafe-tools-canary

    Runtime initialization checking for Rust types

    v0.1.2 27K #initialization #canary #unsafe #checking #panic
  37. safety-parser

    A lib for parsing safety tags defined in tag-std

    v0.4.2 #safety-properties #safety-tags #tag-std #standard #unsafe #formal-verification
  38. fftw-sys

    unsafe wrapper of FFTW3

    v0.8.0 18K #fftw3 #unsafe #fft #system #bindings #intel-mkl #debian #package-manager #discrete-fourier-transform #discrete-cosine
  39. safe-gc

    A garbage collection library with zero unsafe code and zero dependencies

    v1.1.1 #garbage-collection #unsafe #zero #allocating #borrowing #ownership-and-borrowing #finalization
  40. kasane-logic

    This is Kasane-logic

    v0.1.2 #documentation #unsafe #safety
  41. light_ranged_integers

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

    v0.1.3 180 #ranged #integer #rust-compiler #unsafe #clamp #compile-time #zero-dependencies #time-range
  42. mem_btree

    A Data Structure of BTree Implemented with Rust, support snapshot. not use any unsafe lib.

    v0.3.2 340 #b-tree #snapshot #unsafe #lib #structures #btree-map #slow-down
  43. expand_any_lifetime

    expand any lifetime to 'static with no unsafe rust

    v0.1.3 #unsafe #mess #up
  44. abomonation

    A high performance and very unsafe serialization library

    v0.7.3 11K #serialization #encode #decode #unsafe #vec
  45. siderophile

    Find the ideal fuzz targets in a Rust codebase

    v0.2.1 #fuzzing #call-graph #find #codebase #unsafe
  46. unsafe_list

    基于 linux 的 list 实现

    v0.1.5 410 #unsafe #实现 #list #linux #head
  47. olis_string

    Small-string optimization for Rust, aims to replace std::string::String

    v0.1.3 #string-optimization #replace #unsafe #sso-string #set #small-string-optimization #allocator-api #global-allocator
  48. unsafe-fields

    unsafe to access or modify fields with safety invariants

    v0.2.1 140 #field-access #unsafe #invariants #documentation #hash #struct-fields #memory-safety
  49. android-mem-kit

    A comprehensive memory instrumentation library for Android rooted environments (Il2Cpp, Hooking, Patching)

    v0.1.0 #android #hook #unsafe #il2cpp #memory
  50. lv-std

    some utils for c and unsafe rust, this is for personal use for now so you can use it but don't expect any regular updates or maintaining

    v0.0.4 #unsafe #update #personal #expect #regular
  51. trustmebro-macro

    A macro that wraps arbitrary tokens in an unsafe block

    v0.1.0 #unsafe #macro
  52. cargo-geiger-serde

    TODO: Write description

    v0.3.0 9.3K #unsafe #serialize #cargo-geiger
  53. kroos

    Flexible smart pointer for ?Sized types with customizable reference counting

    v0.0.3 180 #rc #smart-pointers #unsafe #unsized #reference-counting
  54. gtk4-layer-shell-sys

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

    v0.5.2 11K #layer-shell #wayland #unsafe #gtk4 #ffi
  55. make-send-sync

    Unsafely make any type Send and Sync

    v0.1.0 #send-sync #thread #unsafe #sync-thread
  56. unsafe-send-sync

    Unsafe wrappers for making structs Send and/or Sync

    v0.2.0 900 #send-sync #unsafe-send #wrapper #unsafe #unsafe-sync
  57. uninit-helper

    Utilites to encapsulate some unsafety of MaybeUninit

    v0.1.0 #maybe-uninit #unsafe #encapsulate #ty #utilities
  58. stuff

    Stuffing things into pointers

    v0.2.0 #bit-packing #provenance #unsafe #pointers #tagging
  59. skiplist-rust

    A lockless skiplist implementation in Rust

    v0.3.0 120 #lockless #unsafe
  60. pre

    Compile-time assistance for working with unsafe code

    v0.2.1 150 #unsafe #compile-time #zero-cost #no-std #safety
  61. maybe-uninit-ext

    Extended maybe-uninit types

    v0.7.0 410 #maybe-uninit #unsafe #safe #no-alloc #uninit
  62. rustls-lite

    Experimental unsafe non-affiliated rustls lite fork. Don't use please.

    v0.1.0-dev.0 #experimental #rustls #fork #lite-version #unsafe
  63. nvm_rs

    that provides the nvm! macro to run safe code within unsafe blocks

    v0.1.0 #unsafe #run #safe #macro #block
  64. phidget-sys

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

    v0.1.5 600 #embedded #unsafe
  65. generic-str

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

    v0.3.1 #string #byte-slice #annoyed #unsafe #vec
  66. unsafe-any

    Traits and implementations for unchecked downcasting

    v0.4.2 237K #downcasts #trait-object #traits #unsafe #reference
  67. better_unsafe

    Unsafe utilities

    v0.1.1 #unsafe #slice #postfix #traits #wrap #core-slice
  68. taskwarrior-sys

    Rust bindings for taskwarrior

    v0.1.2 #bindings #bindings-for-taskwarrior #pre-alpha #safe-bindings #unsafe #task-manager #migrate #task-champion
  69. slog2-parse

    that wraps methods defined in libslog2parse in an idomatic rust interface. Also exposes all unsafe c ffi functions via a ffi module.

    v0.1.1 #logging #parser #methods #unsafe #module #idomatic
  70. drm-rs

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

    v0.1.3 #libdrm #linux #kms #unsafe
  71. slog2

    that wraps methods defined in libslog2 in an idomatic rust interface. Also exposes all unsafe c ffi functions via a ffi module.

    v0.1.0 #logging #interface #methods #unsafe #module #idomatic
  72. 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 400 #safe-data #marshalling #shared #unsafe #manage #64-bit #utf-8 #signed-integer #floating-point
  73. Try searching with DuckDuckGo.

  74. cargo-whynot

    Cargo subcommand to discover why a function is unsafe

    v0.1.2 #cargo-subcommand #unsafe #nightly #cli
  75. unsafe-any-ors

    Traits and implementations for unchecked downcasting

    v1.0.0 800K #downcasts #trait-object #traits #unsafe #reference
  76. proton-sdk-sys

    An unsafe rust binding for the Proton Apps SDK. Currently a WIP

    v0.1.1 #sdk-bindings #unsafe #app #create #name #safe-bindings
  77. machinecode

    Execute machine code in hex form

    v1.0.1 #jit #unsafe
  78. ipopt-sys

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

    v0.6.0 #non-linear-optimization #constrained-optimization #unsafe
  79. slog2-extra

    that wraps methods defined in libslog2-extra in an idomatic rust interface. Also exposes all unsafe c ffi functions via a ffi module.

    v0.1.0 #logging #interface #methods #unsafe #module #idomatic #hash #obfuscate
  80. rust_hero

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

    v0.5.2 #unsafe #lifetime
  81. unsafe_unwrap

    Unsafely unwrap Result and Option types without checking

    v0.1.0 29K #unsafe #unwrap #options
  82. unchecked-std

    some methods from the Rust standard library without some checks

    v1.0.1 160 #unsafe #fast #unchecked
  83. unsafe-io

    has been renamed to io-extras

    v0.11.0 250 #io-extras #renamed #unsafe
  84. unsafe_math

    proc_macro to replace math operation with their unchecked/f_fast versions

    v0.1.1 #math #unsafe #performance
  85. abort_on_panic

    Intercept panic! from unsafe locations and abort the process

    v2.0.0 1.4K #unsafe #panic #location #intercept #abort #javascript-interpreter
  86. reference-box

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

    v1.1.0 #unsafe #structures #ffi
  87. kubectl-check

    A CLI tool to prompt users for confirmation before running potentially unsafe kubectl commands

    v0.2440.0 500 #command-line-tool #kubectl #user #running #unsafe
  88. gtk4-session-lock-sys

    Unsafe gir-generated FFI bindings for gtk4-session-lock

    v0.3.0 110 #wayland #unsafe #gtk4 #ffi
  89. rusty_malloc

    A multithreaded yet simple memory allocator written in Rust

    v0.2.1 #memory-allocator #multi-threading #resources #unsafe #hobby
  90. unchecked_wrap

    Convenient UncheckedSync/Send wrapper types

    v0.1.0 #send-sync #traits #auto-traits #unsafe #auto #no-alloc
  91. ffizz

    exporting Rust libs for use in other languages

    v0.5.0 #utilities-libs #exporting #unsafe #language
  92. project-uninit

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

    v0.1.1 #unsafe #macro #uninitialized
  93. umath

    ffast-math in rust

    v0.0.7 #unsafe #fast-math #ffast-math #float #fast
  94. bointer

    Assorted pointer-related utilities

    v0.2.0 #pointers #unsafe
  95. unsafe_bst

    bst crate, created as a project for class

    v0.3.2 200 #binary-search-tree #statistics #unsafe #root-node #bin-tree #left-and-right #node-module #spacing #node-key
  96. unsafe-to-verified

    Renames unsafe to verified (kinda)

    v1.0.2 #proc-macro #unsafe
  97. accounts-service-sys

    Unsafe gir-generated FFI bindings for accountsservice

    v0.1.2 #unsafe #ffi
  98. fricgan

    performing basic input and output on bytes

    v0.1.0 #io #vlq #byte #applications #unsafe #copying
  99. super_cell

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

    v0.1.1 #mutability #unsafe-cell #parallel #unsafe #cell
  100. uncon

    Traits for unchecked conversions between types

    v1.1.0 #convert #unsafe #unchecked
  101. safevalue

    A value based approach to uphold SAFETY requirements for unsafe Rust code

    v0.1.0 #unsafe #safe #no-std #derive #utility
  102. hubs

    The horribly unsafe buffer structure

    v0.1.1 #buffer #unsafe #data-structures #data-chunks #horribly #read-access
  103. 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
  104. mumblelink_reader

    Mumblelink reader for Windows & Unix based operating systems

    v0.3.5 #mumblelink #unsafe #mumble #game
  105. 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
  106. guerrilla

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

    v0.1.4 #patch #monkey #profit #unsafe #fun
  107. genz

    Uniqueness of types via invariant lifetimes

    v0.4.0 170 #lifetime #invariants #uniqueness #marker #unsafe #t1 #t2
  108. 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 #compiler #unsafe #replace #reader #bug
  109. trustmebro

    macro that magically turns unsafe code into ‘totally safe, bro’ with no consequences. Ideal for those who want to assert dominance over the compiler and live on the edge of catastrophe.

    v1.0.1 #unsafe #macro #compiler-dominance #bravery #trust
  110. memdump

    Handy unsafe no_std memory dumper utility library written in Rust

    v0.1.3 #unsafe #hex-dump #no-std
  111. sendify

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

    v1.1.0 #send-sync #unsafe #rust
  112. noise_perlin

    Improved perlin noise in 2D and 3D

    v1.0.0 #perlin-noise #3d #2d #2d-and-3d #unsafe #forbid #no-std
  113. trust_me

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

    v0.1.1 #safe-macro #programmers #trust #unsafe #wrap
  114. trustme

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

    v1.0.1 #compiler #unsafe #tell #trusted #write
  115. into_inner_drop

    A helper library for implementing into_inner method for drop types safely

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

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

    v0.1.0 #unsafe #soundness
  117. vec_ptr

    An unsafe vector that uses raw pointers to perform standard vector operations

    v0.1.0 #raw-pointers #vector #standard #unsafe #vector-operations
  118. localize

    Localization library

    v0.2.0 #localization #warnings #unsafe #web #appreciated
  119. uninitialized

    Opt-in unsafe uninitialized memory

    v0.0.2 2.5K #uninitialized-memory #unsafe #nue #zeroed
  120. sussy

    pierwszy kwietnia

    v0.1.1 #transmute #kwietnia #pierwszy #unsafe #create #forbid
  121. uncooked_slices

    A wrapper around raw slice pointers that enables safe iteration and indexing

    v0.1.0 #raw-pointers #slice #pointers #unsafe #no-std
  122. unsafe-ref

    Allow raw pointer access without those pesky unsafe blocks everywhere!

    v1.0.0 #unsafe #pointers
  123. sus

    A declarative macro that wraps any input with an unsafe block

    v0.1.1 #unsafe #block #macro #declarative-macro #input
  124. urc

    unsafe shared ptr

    v0.2.0 #shared-ptr #unsafe
  125. reduce_unsafe

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

    v0.1.0 #soundness #safe #detect #check #unsafe
  126. promise-unsafe

    Something help you avoid unsafe:)

    v0.1.0 #unsafe #promise #again #help
  127. safety-guard

    #[safety] attribute to generate a corresponding doc entry and a debug assertion if a constraint is specified

    v0.1.9 1.1K #documentation #safety #unsafe #proc-macro
  128. safe_attr

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

    v1.0.0 #safe #attributes #unsafe
  129. pointer

    easier to iterate on pointers

    v0.0.2 #pointers #raw-pointers #unsafe
  130. clonable_trait_object

    clonar objectos traits sin usar unsafe

    v0.1.1 #traits #trait-object #sin #unsafe #clonable #dog #animal #el #debugging
  131. nsf-imgui-raw

    Alternative (personal) imgui rust bindings, unsafe ffi part

    v0.1.0 #imgui #bit-flags #unsafe
  132. haque

    An abomination for messing with memory

    v0.1.0 #unsafe #memory #hacks #fob #messing #hack
  133. unsafer

    Convenience library for Unsafe Rust

    v0.1.1 #unsafe #error-prone #collection #trick #less
  134. unsafe_from

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

    v1.0.0 #version #unsafe #standard #versions-of-standard-library #i32
  135. safety-macro

    A macro for using safety tags defined in tag-std

    v0.4.1 220 #safety-properties #tags #unsafe #tag-std #standard #formal-verification #set-of-primitive #arxiv