move types to it's own crate

This commit is contained in:
Robin Appelman 2025-04-11 01:56:31 +02:00
commit ae681cb75c
7 changed files with 745 additions and 377 deletions

13
types/Cargo.toml Normal file
View file

@ -0,0 +1,13 @@
[package]
name = "ugc-scraper-types"
version = "0.1.0"
edition = "2021"
[dependencies]
steamid-ng = "1.0.0"
serde = { version = "1.0.215", features = ["derive"], optional = true }
time = { version = "0.3.36", features = ["parsing", "macros"] }
[features]
serde = ["dep:serde", "time/serde", "time/formatting"]
default = ["serde"]