amharc 0.6.0

A cinematic GTK4 and GStreamer desktop video player with a floating widget mode
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"
rust-version = "1.85"
name = "amharc"
version = "0.6.0"
authors = ["Trevor Knott (Knott Dynamics)"]
build = false
include = [
    "src/**/*",
    "assets/**/*",
    "packaging/**/*",
    "scripts/**/*",
    "CHANGELOG.md",
    "Cargo.lock",
    "LICENSE",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "knott-video"
description = "A cinematic GTK4 and GStreamer desktop video player with a floating widget mode"
documentation = "https://docs.rs/amharc"
readme = "README.md"
keywords = [
    "video",
    "player",
    "gtk",
    "gstreamer",
    "desktop",
]
categories = [
    "multimedia::video",
    "gui",
]
license = "MIT"

[package.metadata.docs.rs]
no-default-features = true

[features]
default = ["desktop"]
desktop = [
    "dep:anyhow",
    "dep:gstreamer",
    "dep:gstreamer-app",
    "dep:gstreamer-video",
    "dep:gtk",
    "dep:serde",
    "dep:serde_json",
    "dep:x11rb",
]

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

[[bin]]
name = "knott-video"
path = "src/main.rs"
required-features = ["desktop"]

[dependencies.anyhow]
version = "1.0"
optional = true

[dependencies.gstreamer]
version = "0.23"
optional = true

[dependencies.gstreamer-app]
version = "0.23"
optional = true

[dependencies.gstreamer-video]
version = "0.23"
optional = true

[dependencies.gtk]
version = "0.9"
features = ["v4_6"]
optional = true
package = "gtk4"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.x11rb]
version = "0.13"
optional = true

[profile.dev]
debug = 0
incremental = false

[profile.release]
lto = true
codegen-units = 1
strip = true

[profile.test]
debug = 0
incremental = false