20 releases (6 stable)

2.0.2+roblox-700 Nov 27, 2025
2.0.0+roblox-694 Oct 11, 2025
1.0.3+roblox-670 Apr 25, 2025
1.0.1+roblox-666 Mar 31, 2025
0.1.0+roblox-465 Feb 17, 2021

#776 in Database interfaces

Download history 790/week @ 2025-10-21 675/week @ 2025-10-28 542/week @ 2025-11-04 392/week @ 2025-11-11 464/week @ 2025-11-18 537/week @ 2025-11-25 682/week @ 2025-12-02 638/week @ 2025-12-09 419/week @ 2025-12-16 460/week @ 2025-12-23 701/week @ 2025-12-30 662/week @ 2026-01-06 1063/week @ 2026-01-13 620/week @ 2026-01-20 532/week @ 2026-01-27 721/week @ 2026-02-03

3,022 downloads per month
Used in 13 crates (8 directly)

MIT license

140KB
612 lines

rbx_reflection_database

rbx_reflection_database on crates.io rbx_reflection_database docs

More details about this crate are available on the rbx-dom GitHub.

Contains an API to get a Roblox reflection database using the types from rbx_reflection. This crate embeds a database for this purpose, but also provides an API for dependents to get a reflection database from a consistent location.

The general way this crate should be used is via get. This method will search for a locally stored reflection database and return it if it's found. If it isn't, it will instead return the bundled one. The details for where it searches are below.

Additionally, this crate exposes get_local and get_bundled for only loading the locally stored database or only the bundled one respectively.

Local Details

This crate will load a reflection database from the file system if one exists in the default location. This location varies upon the OS and is specified here:

OS Location
Windows %localappdata%/.rbxreflection/database.msgpack
MacOS $HOME/Library/Application Support/.rbxreflection/database.msgpack
Linux $HOME/.rbxreflection/database.msgpack

Additionally, a location override may be specified via the RBX_DATABASE environment variable. The RBX_DATABASE variable points to the override database.msgpack file, not to an override .rbxreflection directory.

Both the default database.msgpack files and any files pointed to by RBX_DATABASE must be valid MessagePack serializations of a ReflectionDatabase if they're present.

Dependencies

~3–14MB
~140K SLoC