Registry / utility / steamid-ng

steamid-ng

JSON →
library3.0.0rscratesunverified

An easy-to-use SteamID type with functions to parse and render steam2 and steam3 IDs.

# Cargo.toml [dependencies] steamid-ng = "3.0.0"
INSTALL
IMPORT
SIG · STEAMID-NG
S
steamid-ng
utilityrustv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SteamID
use steamid_ng::SteamID;

Parses a SteamID from a string and renders it in steam3 format.

use steamid_ng::SteamID; fn main() { let sid: SteamID = "STEAM_0:0:12345".parse().unwrap(); println!("{}", sid.steam3()); }
Debug
Known issues
breakingVersion 3.0.0 introduced breaking changes to the API.
fix
Refer to the migration guide for changes from 2.x to 3.x.
affects: >=3.0.0
Upgrade
Version history
3.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
Resources
steamid-ng — cargo add steamid-ng · libregistry