3 releases
| 0.1.2 | Mar 29, 2026 |
|---|---|
| 0.1.1 | Mar 29, 2026 |
| 0.1.0 | Mar 28, 2026 |
#775 in Web programming
3.5MB
132 lines
Contains (Mach-o exe, 1MB) dropthe-1f6dc7ebf46f30e3, (rust library, 265KB) libdropthe-801403585fd9bedf.rlib, (Mach-o exe, 29KB) dropthe-1f6dc7ebf46f30e3.16zgn40iqlw9v2tgv8warlbgj.00l3of5.rcgu.o, (Mach-o exe, 18KB) dropthe-1f6dc7ebf46f30e3.3zyqw8z6p3l4rrd9go89tc2k4.00l3of5.rcgu.o, (Mach-o exe, 18KB) dropthe-1f6dc7ebf46f30e3.6ckh3fdv8q7vhp60p3yrmn972.00l3of5.rcgu.o, (Mach-o exe, 28KB) dropthe-1f6dc7ebf46f30e3.exfs50qiiukfeohz2h8njn1xz.00l3of5.rcgu.o and 130 more.
dropthe
Rust data types and constants for working with the DropThe entertainment and financial dataset. DropThe is a data utility media platform covering 25,000+ movies, 1,800+ entities across crypto, companies, and public figures, with structured metadata, knowledge graph relationships, and editorial scoring.
This crate provides strongly-typed representations of the entity catalog, making it straightforward to build tooling, analysis scripts, or integrations that consume DropThe data in Rust.
Installation
[dependencies]
dropthe = "0.1.2"
Quick Start
Entity Types
Every record in the dataset belongs to one of five entity types. The EntityType enum keeps your match arms exhaustive:
use dropthe::{EntityType, Entity};
fn describe(entity: &Entity) -> &'static str {
match entity.entity_type {
EntityType::Movie => "feature film or documentary",
EntityType::Series => "television or streaming series",
EntityType::Person => "public figure (director, actor, founder)",
EntityType::Crypto => "cryptocurrency or token",
EntityType::Company => "publicly traded or private company",
}
}
Building Entity Records
Use the builder-style constructor to assemble entities with optional metadata:
use dropthe::{Entity, EntityType};
let entity = Entity::new("inception-2010", "Inception", EntityType::Movie)
.with_score(92)
.with_tags(&["sci-fi", "thriller", "nolan"]);
assert_eq!(entity.slug, "inception-2010");
assert_eq!(entity.score, Some(92));
Data Coverage Constants
The VERTICALS table lists the editorial verticals with their current catalog sizes. Useful for validation or building progress dashboards:
use dropthe::VERTICALS;
for (name, count) in VERTICALS {
println!("{:<14} {:>6} items", name, count);
}
// Tech 1200 items
// Coin 1850 items
// Movies 25400 items
// ...
Scoring Tiers
Entities are ranked into tiers from S (exceptional) down to D (low-data). Parse tiers safely with from_str:
use dropthe::Tier;
let tier: Tier = "A".parse().expect("valid tier");
assert_eq!(tier.min_score(), 70);
Available Data
The DropThe dataset spans entertainment, finance, and technology. The primary verticals are movies and series (sourced from public film databases), cryptocurrencies (live market data), companies (funding and financials), and people (directors, founders, public figures). Each entity carries structured metadata -- release dates, genres, market cap, funding rounds -- plus editorial scoring and knowledge graph links that connect related records across verticals.
Links
- DropThe Platform -- search, browse, and explore the full dataset
- GitHub Repository
License
MIT