# 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 = "cooklang-sync-server" version = "0.1.6" authors = ["Alexey Dubovskoy "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A server library for cooklang-sync" readme = "README.md" keywords = [ "file-sync", "sync", ] license = "MPL-2.0" repository = "https://github.com/cooklang/cooklang-sync" [lib] name = "cooklang_sync_server" path = "src/lib.rs" [[bin]] name = "server" path = "src/main.rs" [dependencies.async-notify] version = "0.3.0" [dependencies.diesel] version = "2" features = ["r2d2"] optional = true default-features = false [dependencies.diesel_migrations] version = "2" [dependencies.futures-core] version = "0.3.30" [dependencies.jsonwebtoken] version = "9.2.0" [dependencies.mime] version = "0.3.17" [dependencies.multer] version = "3.0.0" [dependencies.rocket] version = "0.5.0" features = [ "json", "secrets", ] [dependencies.rocket-multipart] version = "0.2.1" [dependencies.rocket_sync_db_pools] version = "0.1.0-rc.2" optional = true [dependencies.rusqlite] version = "0.30.0" features = ["bundled"] optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.tokio] version = "1.36.0" features = ["time"] [dependencies.tokio-util] version = "0.7.10" [features] database_postgres = [ "diesel/postgres", "rocket_sync_db_pools/diesel_postgres_pool", ] database_sqlite = [ "diesel/sqlite", "diesel/returning_clauses_for_sqlite_3_35", "rusqlite/bundled", "rocket_sync_db_pools/diesel_sqlite_pool", ] default = ["database_sqlite"]