advisory-db VS owning-ref-rs

Compare advisory-db vs owning-ref-rs and see what are their differences.

advisory-db

Security advisory database for Rust crates published through crates.io (by rustsec)

owning-ref-rs

A library for creating references that carry their owner with them. (by Kimundi)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
advisory-db owning-ref-rs
37 5
856 358
4.3% -
9.2 0.0
8 days ago 7 months ago
Rust
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

advisory-db

Posts with mentions or reviews of advisory-db. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-26.

owning-ref-rs

Posts with mentions or reviews of owning-ref-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-01.
  • New C++ features in GCC 12
    5 projects | news.ycombinator.com | 1 May 2022
    Increasingly feeling that Rust is like Elm: a language with novel ideas, teaching valuable lessons (a vocabulary for teaching and checking thread safety, documenting exclusive vs. shared mutability in the type system, arguably a vocabulary for teaching and checking memory safety, though that comes at a steep cost), yet so stubborn the community treats its values (avoiding shared mutability) as moral judgments of code, and the language and deliberately obstructs writing code outside of approved patterns (single ownership tree, exclusive mutability). struct{Cell...}& doesn't need to be harder to use than C++ struct{T...}*, but Rust keeps it difficult because the community views it as bad code design and wants to keep it hard. And *mut T lacks RAII unlike C++'s unique_ptr, and requires unsafe blocks in every dereference. As a result, people turn to unsound patterns like https://github.com/kimundi/owning-ref-rs, https://github.com/mcoblenz/Bronze/, and https://github.com/emu-rs/snes-apu/blob/master/src/smp.rs#L5....

    It's a good language to learn. I hesitate to consider it a replacement for asm/C/C++. Writing rust is hoping that the code you're porting to rust can adapt well to the restrictions, and if not, searching for esoteric and needlessly unsafe/verbose workarounds.

  • Unsoundness in owning_ref
    10 projects | /r/rust | 26 Jan 2022
    Note that there are other soundness issues that require more fundamental changes to be fixed.
  • Self referential return type -> (Owned, Ref<'a>)
    1 project | /r/rust | 1 Oct 2021
    That's a shame. I dug into owning_ref, and it looks like it has an open soundness bug as well.

What are some alternatives?

When comparing advisory-db and owning-ref-rs you can also consider the following projects:

cargo-deny - ❌ Cargo plugin for linting your dependencies 🦀

tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

chrono - Date and time library for Rust

once_self_cell - Safe-to-use proc-macro-free self-referential structs in stable Rust.

vulndb - [mirror] The Go Vulnerability Database

string - Rust String type with configurable byte storage.

rustsec - RustSec API & Tooling

owning-ref-unsoundness - An article explaining the unsoundness I found in owning-ref

Rudra - Rust Memory Safety & Undefined Behavior Detection

cxx20-modules-examples - C++20 modules examples

dwflist - The DWF IDs

Bronze