# 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" name = "discord_injector-lib" version = "0.3.21" authors = ["klover-rs"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "This is a rust library which allows you to inject javascript into the discord desktop client!" readme = "README.md" keywords = [ "discord", "injector", "electron", "asar", "javascript", ] license = "MIT" repository = "https://github.com/klover-rs/discord-javascript-injector" [lib] name = "discord_injector_lib" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.86" [dependencies.asar] version = "0.3.0" [dependencies.dirs] version = "5.0.1" [dependencies.futures-util] version = "0.3.30" optional = true [dependencies.rayon] version = "1.10.0" [dependencies.serde] version = "1.0.204" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.swc_common] version = "0.37.0" [dependencies.swc_ecma_ast] version = "0.118.0" [dependencies.swc_ecma_codegen] version = "0.155.0" [dependencies.swc_ecma_parser] version = "0.149.0" [dependencies.swc_ecma_transforms_typescript] version = "0.195.1" [dependencies.swc_ecma_visit] version = "0.104.2" [dependencies.tokio] version = "1.39.2" features = ["full"] [dependencies.tokio-tungstenite] version = "0.16" optional = true [dependencies.tungstenite] version = "0.17" optional = true [dependencies.url] version = "2.5.2" optional = true [dependencies.walkdir] version = "2.5.0" [build-dependencies.cc] version = "1.1.7" [features] default = [] ws = [ "futures-util", "tokio-tungstenite", "url", "tungstenite", ]