bramley-engine 0.2.0

Playback engine that runs Apple's MusicKit JS in an embedded JavaScript runtime with native media and Widevine DRM host objects.
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 = "bramley-engine"
version = "0.2.0"
build = "build.rs"
include = [
    "/src/*.rs",
    "/src/shim.cc",
    "/js/*.js",
    "/cdm-api/*",
    "/build.rs",
    "/README.md",
    "/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Playback engine that runs Apple's MusicKit JS in an embedded JavaScript runtime with native media and Widevine DRM host objects."
homepage = "https://github.com/natevick/bramley"
readme = "README.md"
keywords = [
    "apple-music",
    "musickit",
    "widevine",
    "eme",
    "quickjs",
]
categories = ["multimedia::audio"]
license = "MIT"
repository = "https://github.com/natevick/bramley"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[features]
diagnostics = []
sabotage = []
trace = []

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

[dependencies.anyhow]
version = "1"

[dependencies.getrandom]
version = "0.2"

[dependencies.pulseaudio]
version = "0.3.1"

[dependencies.rquickjs]
version = "0.14"

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.symphonia]
version = "0.5"
features = ["aac"]
default-features = false

[dependencies.ureq]
version = "3"

[build-dependencies.cc]
version = "1"