ferrex-model 0.1.2-alpha

Shared data models for the Ferrex media platform
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "ferrex-model"
version = "0.1.2-alpha"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared data models for the Ferrex media platform"
homepage = "https://github.com/Lowband21/ferrex"
readme = "README.md"
keywords = [
    "media-server",
    "streaming",
    "video",
    "hdr",
    "iced",
]
categories = [
    "multimedia",
    "web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Lowband21/ferrex.git"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
chrono = ["dep:chrono"]
default = []
rkyv = [
    "dep:rkyv",
    "chrono",
]
serde = [
    "dep:serde",
    "chrono",
]
sqlx = ["dep:sqlx"]

[lib]
name = "ferrex_model"
path = "src/lib.rs"

[dependencies.chrono]
version = "0.4"
features = [
    "alloc",
    "std",
    "clock",
    "now",
    "serde",
]
optional = true
default-features = false

[dependencies.rkyv]
version = "0.8.13"
features = [
    "std",
    "alloc",
    "bytecheck",
    "little_endian",
    "aligned",
    "pointer_width_32",
    "uuid-1",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "std",
    "derive",
]
optional = true
default-features = false

[dependencies.sqlx]
version = "0.8.6"
features = [
    "runtime-tokio",
    "postgres",
    "chrono",
    "uuid",
    "migrate",
    "macros",
    "derive",
    "bigdecimal",
    "rust_decimal",
    "ipnetwork",
    "json",
]
optional = true

[dependencies.tmdb-api]
version = "1.0.0-alpha.5"

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1.19"
features = [
    "v4",
    "v5",
    "v7",
    "serde",
    "std",
]

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"

[lints.rustdoc]
bare_urls = "warn"
broken_intra_doc_links = "warn"
invalid_codeblock_attributes = "warn"
invalid_rust_codeblocks = "warn"
missing_crate_level_docs = "allow"
private_doc_tests = "warn"
private_intra_doc_links = "warn"