rust-ctor VS inventory

Compare rust-ctor vs inventory and see what are their differences.

rust-ctor

Module initialization/global constructor functions for Rust (by mmastrac)

inventory

Typed distributed plugin registration (by dtolnay)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
rust-ctor inventory
2 6
663 454
- -
6.2 6.5
12 days ago over 2 years ago
Rust Rust
Apache License 2.0 GNU General Public License v3.0 or later
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.

rust-ctor

Posts with mentions or reviews of rust-ctor. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-30.

inventory

Posts with mentions or reviews of inventory. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-30.
  • Announcing Rust 1.62.0
    11 projects | /r/rust | 30 Jun 2022
    Yesss! This release finally lets David Tolnay's inventory crate live again as v0.3! 🙌🏻
  • What are legitimate problems with Rust?
    12 projects | /r/rust | 21 May 2022
    Regarding static init: https://crates.io/crates/inventory (https://github.com/dtolnay/inventory)
  • dtolnay/inventory got archived, is there an alternative ?
    5 projects | /r/rust | 3 Feb 2022
    @dtolnay I noticed you just archived the repos for inventory, linkme, gflags, and typetag, which I assume implies a deprecation.
  • I'm building a modular stream relay in Rust and looking for some advice
    2 projects | /r/rust | 5 Dec 2021
    Plugin systems. At first I wanted each component to be a separate .so file and let the engine loads them dynamically. However this turns out to be extreamly hard, especially since I want asynchronous. Now I have switched to compile-time components selection. It still has one problem: the repetition of the componenet list. I have to list all components in the toml file, as well as in my main.rs. So far I only found https://github.com/dtolnay/inventory, but it looks "hacky" for me. I have also considered build scripts, but it pretty much destroyed the IDE experience.
  • What's your favourite under-rated Rust crate and why?
    25 projects | /r/rust | 7 Jun 2021
    I like dtolnay's inventory or linkme crates to register items in a central list, just using decentralized annotations.

What are some alternatives?

When comparing rust-ctor and inventory you can also consider the following projects:

rust-cpp - Embed C++ directly inside your rust code!

fusioninventory-for-glpi - FusionInventory plugin for GLPI

ormx - bringing orm-like features to sqlx

linkme - Safe cross-platform linker shenanigans

dl_api - The easiest, simplest and safest way to load dynamic (shared object) libraries from Rust!

magento-2-social-login - Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps

rust-derive-builder - derive builder implementation for rust structs

magento2-replace-tools

enarx - Enarx: Confidential Computing with WebAssembly

n98-magerun2 - The swiss army knife for Magento developers, sysadmins and devops. The tool provides a huge set of well tested command line commands which save hours of work time. All commands are extendable by a module API.

rustgym - Leetcode Solutions in Rust, Advent of Code Solutions in Rust and more