[workspace] members = [ "crates/mirakurun-client", "crates/mirakurun-core", "crates/mirakurun-rs", "crates/mirakurun-types", ] resolver = "2" [workspace.package] version = "4.1.3-rs.0" edition = "2024" rust-version = "1.85" license = "Apache-2.0" repository = "https://github.com/Chinachu/Mirakurun" [workspace.dependencies] anyhow = "1.0" async-stream = "0.3" axum = { version = "0.8", features = ["http1", "json", "tokio", "ws"] } base64 = "0.22" bytes = "1.10" chrono = { version = "0.4.41", default-features = false, features = ["clock"] } clap = { version = "4.5", features = ["derive", "env"] } encoding_rs = "0.8" futures-util = "0.3" http = "1.3" http-body-util = "0.1" hyper = { version = "1.6", features = ["client", "http1"] } hyper-util = { version = "0.1", features = ["tokio"] } ipnet = { version = "2.11", features = ["serde"] } libc = "0.2" mime_guess = "2.0" mpeg2ts-reader = "0.18.2" nix = { version = "0.30", features = ["process", "signal"] } rust-embed = "8.7" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_yaml_ng = "0.10" sha2 = "0.10" tempfile = "3.20" thiserror = "2.0" tokio = { version = "1.45", features = ["fs", "io-std", "io-util", "macros", "net", "process", "rt-multi-thread", "signal", "sync", "time"] } tokio-stream = { version = "0.1", features = ["sync"] } tokio-util = { version = "0.7", features = ["io", "rt"] } tower = "0.5" tower-http = { version = "0.6", features = ["cors", "request-id", "trace"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] } [workspace.lints.rust] unsafe_code = "warn" [workspace.lints.clippy] all = "warn" pedantic = "warn" [profile.release] lto = "thin" codegen-units = 1 strip = "symbols"