Squash of 10 work commits (Sep 2–12):9633dedweb server: site static serving plus the first nav backendsba1010dasset-client: review fixes — additive web feature, shared transport contract, guarded cache and base URL81ef71cnetwork: native backends honour the response body cap4d75e65web server: hardening after security review — worker-only parsing, FD-relative static opens, strict framing, bounded work, panic recovery, Cloudflare-aware limitsdfe2087web-server: O(1) report admission, one connection deadline, shared route sampler, static fallbacks, cache policy9c9c72bweb-server: bodies land before workers, client keys normalized, verbs fail closed6c32c88web-server: ETags from size and mtime, deadlines from size, Allow per resource7613f3eweb-server: one deadline per response from its size, 404 before 405 for unknown API paths, one Earth radius7deb052web-server: ETags from size and mtime, never from content; upgrades only where a socket route exists f407342 libs, network: in-tree shims replace crates.io libc/log in the Wayland and zune crates; deterministic math; the websocket flushes control messages at once Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
105 lines
2.1 KiB
TOML
105 lines
2.1 KiB
TOML
# 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 = "2021"
|
|
rust-version = "1.65"
|
|
name = "wayland-backend"
|
|
version = "0.3.12"
|
|
authors = ["Elinor Berger <elinor@safaradeg.net>"]
|
|
build = "build.rs"
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Low-level bindings to the Wayland protocol"
|
|
documentation = "https://docs.rs/wayland-backend/"
|
|
readme = "README.md"
|
|
keywords = ["wayland"]
|
|
categories = [
|
|
"gui",
|
|
"api-bindings",
|
|
]
|
|
license = "MIT"
|
|
repository = "https://github.com/smithay/wayland-rs"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[features]
|
|
client_system = [
|
|
"wayland-sys/client",
|
|
"dep:scoped-tls",
|
|
]
|
|
dlopen = ["wayland-sys/dlopen"]
|
|
server_system = [
|
|
"wayland-sys/server",
|
|
"dep:scoped-tls",
|
|
]
|
|
|
|
[lib]
|
|
name = "wayland_backend"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "rs_sys_impls"
|
|
path = "tests/rs_sys_impls.rs"
|
|
|
|
[dependencies.downcast-rs]
|
|
path = "../downcast-rs"
|
|
version = "1.2"
|
|
|
|
[dependencies.log]
|
|
package = "makepad-error-log"
|
|
path = "../../error_log"
|
|
version = "1.0.0"
|
|
optional = true
|
|
|
|
[dependencies.raw-window-handle]
|
|
version = "0.5.0"
|
|
optional = true
|
|
|
|
[dependencies.rwh_06]
|
|
version = "0.6.0"
|
|
optional = true
|
|
package = "raw-window-handle"
|
|
|
|
[dependencies.scoped-tls]
|
|
path = "../scoped-tls"
|
|
version = "1.0"
|
|
optional = true
|
|
|
|
[dependencies.smallvec]
|
|
version = "1.9"
|
|
features = [
|
|
"union",
|
|
"const_generics",
|
|
"const_new",
|
|
]
|
|
|
|
[dependencies.wayland-sys]
|
|
path = "../wayland-sys"
|
|
features = []
|
|
|
|
[dev-dependencies.concat-idents]
|
|
version = "1.1"
|
|
|
|
[dev-dependencies.env_logger]
|
|
version = "0.10"
|
|
|
|
[dev-dependencies.scoped-tls]
|
|
path = "../scoped-tls"
|
|
version = "1.0"
|