# 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.64" name = "puff-rs" version = "0.1.8" authors = ["Kyle Hanson "] exclude = ["/release.toml"] description = "Puff - Deep Stack Python Runtime and GraphQL library." homepage = "https://github.com/hansonkd/puff" documentation = "https://docs.rs/puff_rs" readme = "README.md" keywords = [ "graphql", "server", "web", "python", ] categories = [ "asynchronous", "web-programming", "web-programming::http-server", "development-tools::ffi", ] license = "MIT" repository = "https://github.com/hansonkd/puff" [[bin]] name = "puff" path = "src/main.rs" required-features = ["puff-binary"] [[bin]] name = "puff-watch" path = "src/watch.rs" required-features = ["watch-binary"] [[example]] name = "web" path = "examples/web.rs" [[example]] name = "basic" path = "examples/basic.rs" [[example]] name = "puff_django" path = "examples/puff_django.rs" [[example]] name = "gql" path = "examples/gql.rs" [[example]] name = "websockets" path = "examples/websockets.rs" [[example]] name = "asgi" path = "examples/asgi.rs" [[example]] name = "task_queue" path = "examples/task_queue.rs" [[example]] name = "pytest" path = "examples/pytest.rs" [dependencies.anyhow] version = "1.0.64" [dependencies.async-trait] version = "0.1.57" [dependencies.axum] version = "0.6.0-rc.2" features = [ "headers", "ws", "http2", ] [dependencies.base64] version = "0.13.0" [dependencies.bb8-postgres] version = "0.8.1" [dependencies.bb8-redis] version = "0.11.0" [dependencies.bincode] version = "1.3.3" [dependencies.chrono] version = "0.4.22" features = ["serde"] [dependencies.clap] version = "4.0.8" features = [ "env", "string", ] [dependencies.compact_str] version = "0.6.1" features = ["serde"] [dependencies.dotenvy] version = "0.15.6" optional = true [dependencies.failure] version = "0.1.8" [dependencies.futures] version = "0.3.23" [dependencies.futures-util] version = "0.3.24" [dependencies.hyper] version = "0.14.9" [dependencies.juniper] version = "0.16.0-dev" features = [ "chrono", "uuid", ] package = "juniper_puff" [dependencies.juniper_graphql_ws] version = "0.4.0-dev" package = "juniper_graphql_ws_puff" [dependencies.lazy_static] version = "1.4.0" [dependencies.notify] version = "5.0.0" optional = true [dependencies.num_cpus] version = "1.13.1" [dependencies.owning_ref] version = "0.4.1" [dependencies.percent-encoding] version = "2.2.0" [dependencies.pyo3] version = "0.17.3" [dependencies.pyo3-chrono] version = "0.5.0" [dependencies.pythonize] version = "0.17.0" [dependencies.rand] version = "0.8.1" [dependencies.reqwest] version = "0.11.12" features = [ "json", "cookies", "multipart", "brotli", "gzip", ] [dependencies.serde] version = "1.0.144" features = ["derive"] [dependencies.serde_bytes] version = "0.11.7" [dependencies.serde_json] version = "1.0.85" [dependencies.socket2] version = "0.4.4" [dependencies.tokio] version = "1.20.1" features = ["full"] [dependencies.tokio-postgres] version = "0.7.7" features = [ "with-serde_json-1", "with-chrono-0_4", "with-uuid-1", "array-impls", ] [dependencies.tokio-stream] version = "0.1.10" [dependencies.toml] version = "0.5.9" optional = true [dependencies.tower] version = "0.4.13" optional = true [dependencies.tower-http] version = "0.3.4" features = [ "compression-full", "cors", ] optional = true [dependencies.tower-layer] version = "0.3.2" [dependencies.tower-service] version = "0.3.2" [dependencies.tracing] version = "0.1.36" [dependencies.tracing-subscriber] version = "0.3.15" [dependencies.uuid] version = "1.1.2" features = [ "v4", "fast-rng", "serde", ] [features] default = [ "watch-binary", "puff-binary", ] puff-binary = [ "toml", "dotenvy", "tower-http", "tower", ] watch-binary = ["notify"]