# 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 = "2018" rust-version = "1.64" name = "xim" version = "0.4.0" authors = ["Riey "] description = "XIM protocol parser, handler" documentation = "https://docs.rs/xim" readme = "README.md" keywords = [ "x11", "xim", "x11rb", "no-std", ] categories = [ "no-std", "parser-implementations", ] license = "MIT" repository = "https://github.com/Riey/xim-rs" [package.metadata.docs.rs] features = [ "x11rb-client", "x11rb-server", "x11rb-xcb", "xlib-client", ] [[example]] name = "x11rb_client" path = "examples/x11rb_client.rs" required-features = ["x11rb-client"] [[example]] name = "x11rb_server" path = "examples/x11rb_server.rs" required-features = ["x11rb-server"] [[example]] name = "xlib_client" path = "examples/xlib_client.rs" required-features = ["xlib-client"] [[bench]] name = "rw" harness = false [dependencies.ahash] version = "0.8" features = ["compile-time-rng"] default-features = false [dependencies.hashbrown] version = "0.14.0" default-features = false [dependencies.log] version = "0.4" default-features = false [dependencies.x11-dl] version = "2.18.5" optional = true [dependencies.x11rb] version = "0.13" optional = true [dependencies.xim-ctext] version = "0.3.0" default-features = false [dependencies.xim-parser] version = "0.2.0" default-features = false [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.pretty_env_logger] version = "0.5.0" [features] bootstrap-parser = ["xim-parser/bootstrap"] client = [] default = ["std"] server = [] std = [ "xim-parser/std", "xim-ctext/std", "ahash/std", ] x11rb-client = [ "client", "x11rb", "std", ] x11rb-server = [ "server", "x11rb", "std", ] x11rb-xcb = [ "x11rb/allow-unsafe-code", "std", ] xlib-client = [ "client", "x11-dl", "std", ]