# 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 = "trpc-rs" version = "0.0.2" authors = ["Oscar Beaumont "] exclude = ["/.github"] description = "A blazing fast and easy to use TRPC server for Rust." license = "MIT" repository = "https://github.com/oscartbeaumont/trpc-rs" resolver = "2" [[example]] name = "axum" required-features = ["axum"] [dependencies.axum] version = "0.5.9" optional = true [dependencies.serde] version = "1.0.137" [dependencies.serde_json] version = "1.0.81" [dependencies.trpc-rs-macros] version = "0.0.2" [dependencies.ts-rs] version = "6.2.0" [dev-dependencies.axum] version = "0.5.9" [dev-dependencies.once_cell] version = "1.12.0" [dev-dependencies.serde] version = "1.0.137" features = ["derive"] [dev-dependencies.tokio] version = "1.19.2" features = [ "rt-multi-thread", "macros", ] [dev-dependencies.tower-http] version = "0.3.4" features = ["cors"] default-features = false [features] axum = ["dep:axum"] default = []