# 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 = "2018" name = "objtalk" version = "0.3.0" authors = ["hinzundcode "] build = "build.rs" include = [ "src/**/*.rs", "build.rs", "Cargo.toml", "admin", "!**/.DS_Store", ] default-run = "objtalk-server" description = "a lightweight realtime database for IoT projects" homepage = "https://github.com/objtalk/objtalk" readme = "README.md" keywords = [ "messaging", "iot", "broker", "database", "realtime", ] license = "MIT" repository = "https://github.com/objtalk/objtalk" [profile.release] lto = true codegen-units = 1 panic = "abort" incremental = false [[bin]] name = "objtalk-server" required-features = ["server"] [[bin]] name = "objtalk-cli" required-features = ["client"] [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.clap] version = "= 3.0.0-beta.2" features = [ "std", "derive", ] default-features = false [dependencies.clap_derive] version = "= 3.0.0-beta.2" [dependencies.colored] version = "2.0" optional = true [dependencies.futures] version = "0.3" [dependencies.hyper] version = "0.14" optional = true default-features = false [dependencies.hyper-tungstenite] version = "0.3" optional = true [dependencies.lazy_static] version = "1.4" optional = true [dependencies.regex] version = "1" optional = true [dependencies.rusqlite] version = "0.25" optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" features = ["preserve_order"] [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.5" features = [ "rt", "rt-multi-thread", "macros", "net", ] [dependencies.tokio-util] version = "0.6" features = ["codec"] [dependencies.toml] version = "0.5" optional = true [dependencies.uuid] version = "0.8" features = [ "serde", "v4", ] default-features = false [build-dependencies.deflate] version = "0.9" [features] client = [ "hyper/http1", "hyper/client", ] default = [ "server", "client", "sqlite-backend", ] server = [ "colored", "toml", "regex", "hyper/http1", "hyper/server", "hyper/runtime", "hyper/stream", "hyper-tungstenite", "lazy_static", ] sqlite-backend = [ "rusqlite/bundled", "rusqlite/chrono", ]