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