# 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 = "retronomicon-dto" version = "0.2.3" authors = [ "Golem-FPGA", "Hans Larsen ", ] description = "Data transfer objects for the Retronomicon API" homepage = "https://retronomicon.land" readme = "README.md" keywords = [ "retronomicon", "api", "dto", ] categories = [ "api", "emulator", "fpga", "retrocomputing", "retrogaming", ] license = "Apache-2.0" repository = "https://github.com/golem-fpga/retronomicon.git" [dependencies.base64] version = "0.21.5" [dependencies.clap] version = "4.4.8" features = ["derive"] optional = true [dependencies.hex] version = "0.4.3" [dependencies.mime_guess] version = "2.0.4" optional = true [dependencies.okapi] version = "0.7.0-rc.1" features = ["impl_json_schema"] optional = true [dependencies.reqwest] version = "0.11.22" features = [ "json", "multipart", ] optional = true [dependencies.rocket] version = "0.5.0-rc.3" optional = true [dependencies.schemars] version = "0.8.15" features = ["url"] optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.strum] version = "0.25.0" features = ["derive"] [dependencies.thiserror] version = "1.0.50" [dependencies.url] version = "2.4.1" features = ["serde"] [features] blocking = ["reqwest/blocking"] cli = ["clap"] client = [ "reqwest", "mime_guess", ] openapi = [ "okapi", "schemars", ] rocket = [ "dep:rocket", "openapi", ]