# 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 = "redis-module" version = "2.0.7" authors = [ "Gavrie Philipson ", "Guy Korland ", ] build = "build.rs" description = "A toolkit for building Redis modules in Rust" readme = "README.md" keywords = [ "redis", "plugin", ] categories = [ "database", "api-bindings", ] license = "BSD-3-Clause" repository = "https://github.com/RedisLabsModules/redismodule-rs" [[example]] name = "hello" crate-type = ["cdylib"] [[example]] name = "string" crate-type = ["cdylib"] [[example]] name = "configuration" crate-type = ["cdylib"] [[example]] name = "proc_macro_commands" crate-type = ["cdylib"] [[example]] name = "acl" crate-type = ["cdylib"] [[example]] name = "call" crate-type = ["cdylib"] required-features = ["min-redis-compatibility-version-7-2"] [[example]] name = "keys_pos" crate-type = ["cdylib"] [[example]] name = "lists" crate-type = ["cdylib"] [[example]] name = "timer" crate-type = ["cdylib"] [[example]] name = "threads" crate-type = ["cdylib"] [[example]] name = "block" crate-type = ["cdylib"] [[example]] name = "data_type" crate-type = ["cdylib"] [[example]] name = "load_unload" crate-type = ["cdylib"] [[example]] name = "ctx_flags" crate-type = ["cdylib"] [[example]] name = "server_events" crate-type = ["cdylib"] [[example]] name = "events" crate-type = ["cdylib"] [[example]] name = "test_helper" crate-type = ["cdylib"] [[example]] name = "info_handler_macro" crate-type = ["cdylib"] [[example]] name = "info_handler_builder" crate-type = ["cdylib"] [[example]] name = "info_handler_struct" crate-type = ["cdylib"] [[example]] name = "info_handler_multiple_sections" crate-type = ["cdylib"] [[example]] name = "info" crate-type = ["cdylib"] [[example]] name = "scan_keys" crate-type = ["cdylib"] [[example]] name = "stream" crate-type = ["cdylib"] [[example]] name = "response" crate-type = ["cdylib"] [[example]] name = "open_key_with_flags" crate-type = ["cdylib"] [dependencies.backtrace] version = "0.3" [dependencies.bitflags] version = "2" [dependencies.cfg-if] version = "1" [dependencies.enum-primitive-derive] version = "^0.1" [dependencies.libc] version = "0.2" [dependencies.linkme] version = "0.3" [dependencies.log] version = "0.4" [dependencies.nix] version = "0.26" [dependencies.num-traits] version = "^0.2" [dependencies.redis-module-macros-internals] version = "2.0.7" [dependencies.regex] version = "1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.strum_macros] version = "0.24" [dev-dependencies.anyhow] version = "1" [dev-dependencies.lazy_static] version = "1" [dev-dependencies.redis] version = "0.23" [build-dependencies.bindgen] version = "0.66" [build-dependencies.cc] version = "1" [features] default = ["min-redis-compatibility-version-6-0"] min-redis-compatibility-version-6-0 = [] min-redis-compatibility-version-6-2 = [] min-redis-compatibility-version-7-0 = [] min-redis-compatibility-version-7-2 = []