# 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 = "onechatsocial-result" version = "0.6.16" authors = ["Paul Makles "] description = "Revolt Backend: Result and Error types" license = "AGPL-3.0-or-later" [dependencies.revolt_okapi] version = "0.9.1" optional = true [dependencies.revolt_rocket_okapi] version = "0.9.1" optional = true [dependencies.rocket] version = "0.5.0-rc.2" optional = true default-features = false [dependencies.schemars] version = "0.8.8" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [features] default = ["serde"] okapi = [ "dep:revolt_rocket_okapi", "dep:revolt_okapi", ] rocket = [ "dep:rocket", "dep:serde_json", ] schemas = ["dep:schemars"] serde = ["dep:serde"]