smithay/wlcs_anvil/Cargo.toml
Ian Douglas Scott 284ddbd0a8 Use rustix instead of nix
Rustix doesn't provide `sigaction` since this requires libc and can't be
done correctly through just direct system calls. But just calling `libc`
isn't particularly worse than nix here.

We no longer need to define `major`/`minor` for FreeBSD since `libc` has
those in its latest release. I see an issue with DRM devices preventing
me from starting Anvil on my FreeBSD 13.2 install, but it seems to be
an issue on `master` unreleated to this change.

The `nix` dependency is still used for matching errors from the `drm`
crate... that probably should be changed in `drm`. It would be best to
avoid a public dependency on either in `drm`.
2023-10-16 19:51:31 -07:00

19 lines
545 B
TOML

[package]
name = "wlcs_anvil"
version = "0.0.1"
authors = ["Victor Berger <victor.berger@m4x.org>", "Drakulix (Victoria Brekenfeld)"]
license = "MIT"
publish = false
edition = "2018"
[lib]
crate-type = ["cdylib"]
[dependencies]
smithay = { path = "..", default-features=false, features=["wayland_frontend", "backend_egl", "use_system_lib", "renderer_test"] }
anvil = { path = "../anvil", default-features=false }
wayland-sys = { version = "0.31.1", features = ["client", "server"] }
wlcs = "0.1"
libc = "0.2"
memoffset = "0.9"
cgmath = "0.18"