# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "df_st_api" version = "0.3.0-development-2" authors = ["ralpha "] description = "Starting an API server for the DF Storyteller project." homepage = "https://dfstoryteller.com/" documentation = "https://docs.dfstoryteller.com/" readme = "../README.md" keywords = ["dwarf", "fortress", "storyteller"] categories = ["command-line-utilities", "encoding", "games", "web-programming"] license = "AGPL-3.0-or-later" repository = "https://gitlab.com/df_storyteller/df-storyteller" [dependencies.anyhow] version = "1.0" [dependencies.df_rocket_okapi] version = "0.4" [dependencies.df_rocket_okapi_codegen] version = "0.4" [dependencies.df_st_core] version = "0.3.0-development-2" [dependencies.df_st_db] version = "0.3.0-development-2" default-features = false [dependencies.juniper] version = "0.14" [dependencies.juniper_rocket] version = "0.5" [dependencies.log] version = "0.4" [dependencies.okapi] version = "0.5.0-alpha-1" [dependencies.rocket] version = "0.4" features = ["tls"] [dependencies.rocket_contrib] version = "0.4" features = ["json", "serve"] default-features = false [dependencies.rocket_cors] version = "0.5" [dependencies.rust-embed] version = "5.5" [dependencies.schemars] version = "0.8.0-alpha-4" features = ["preserve_order"] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" features = ["preserve_order"] [dependencies.sha2] version = "0.9" [dev-dependencies.pretty_assertions] version = "0.6" [dev-dependencies.tempfile] version = "3.1" [features] default = ["sqlite"] postgres = ["rocket_contrib/diesel_postgres_pool", "df_st_db/postgres"] sqlite = ["rocket_contrib/diesel_sqlite_pool", "df_st_db/sqlite"] [badges.gitlab] branch = "master" repository = "https://gitlab.com/df_storyteller/df-storyteller"