# 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.69.0" name = "discord-presence" version = "1.3.1" authors = [ "Juliette Cordor", "Patrick Auernig ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust client for Discord RPC." readme = "README.md" keywords = [ "discord", "ipc", "rpc", ] license = "MIT" repository = "https://github.com/jewlexx/discord-presence.git" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "discord_presence" path = "src/lib.rs" [[example]] name = "5_seconds" path = "examples/5_seconds.rs" [[example]] name = "blocking" path = "examples/blocking.rs" [[example]] name = "blocking_shutdown" path = "examples/blocking_shutdown.rs" [[example]] name = "discord_presence" path = "examples/discord_presence.rs" [[example]] name = "discord_presence_subscriber" path = "examples/discord_presence_subscriber.rs" [[example]] name = "event_data" path = "examples/event_data.rs" [[example]] name = "unblocking" path = "examples/unblocking.rs" [[test]] name = "version_numbers" path = "tests/version_numbers.rs" [dependencies.byteorder] version = "1.5" [dependencies.bytes] version = "1.6" [dependencies.cfg-if] version = "1.0" [dependencies.crossbeam-channel] version = "0.5" [dependencies.num-derive] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.parking_lot] version = "0.12" [dependencies.paste] version = "1.0" [dependencies.quork] version = "0.7" features = [ "macros", "std", "traits", ] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_repr] version = "0.1" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tracing] version = "0.1" [dependencies.uuid] version = "1.8" features = ["v4"] [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.ctrlc] version = "3.4" [dev-dependencies.tracing-subscriber] version = "0.3" [dev-dependencies.version-sync] version = "0.9" [features] activity_type = ["dep:serde_repr"] [target."cfg(windows)".dependencies.named_pipe] version = "0.4"