41 lines
1.5 KiB
TOML
41 lines
1.5 KiB
TOML
[package]
|
|
name = "pnmixer"
|
|
version = "0.1.0"
|
|
authors = ["Julian Ospald <hasufell@posteo.de>"]
|
|
|
|
[dependencies]
|
|
alsa = "^0.1.8"
|
|
alsa-sys = "^0.1.1"
|
|
libc = "^0.2.23"
|
|
gdk-sys = { git = "https://github.com/gtk-rs/sys" }
|
|
gdk-pixbuf = { git = "https://github.com/gtk-rs/gdk-pixbuf.git" }
|
|
gdk-pixbuf-sys = { git = "https://github.com/gtk-rs/sys" }
|
|
gtk-sys = { git = "https://github.com/gtk-rs/sys" }
|
|
glib = { git = "https://github.com/gtk-rs/glib.git" }
|
|
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
|
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
|
ffi = "^0.0.2"
|
|
flexi_logger = "^0.5.1"
|
|
log = "^0.3.8"
|
|
error-chain = { path = "3rdparty/error-chain" }
|
|
|
|
[dependencies.gtk]
|
|
git = "https://github.com/gtk-rs/gtk.git"
|
|
features = [ "v3_10", "v3_12", "v3_22" ]
|
|
|
|
[dependencies.gdk]
|
|
git = "https://github.com/gtk-rs/gdk.git"
|
|
features = [ "v3_10", "v3_12", "v3_22" ]
|
|
|
|
[profile.dev]
|
|
opt-level = 2 # controls the `--opt-level` the compiler builds with
|
|
debug = true # controls whether the compiler passes `-C debuginfo`
|
|
# a value of `true` is equivalent to `2`
|
|
rpath = false # controls whether the compiler passes `-C rpath`
|
|
lto = false # controls `-C lto` for binaries and staticlibs
|
|
debug-assertions = true # controls whether debug assertions are enabled
|
|
codegen-units = 1 # controls whether the compiler passes `-C codegen-units`
|
|
# `codegen-units` is ignored when `lto = true`
|
|
panic = 'unwind' # panic strategy (`-C panic=...`), can also be 'abort'
|
|
|