[package] name = "scylla-cql" version = "0.2.1" edition = "2021" description = "CQL data types and primitives, for interacting with Scylla." repository = "https://github.com/scylladb/scylla-rust-driver" readme = "../README.md" keywords = ["database", "scylla", "cql", "cassandra"] categories = ["database"] license = "MIT OR Apache-2.0" [dependencies] scylla-macros = { version = "0.5.1", path = "../scylla-macros" } byteorder = "1.3.4" bytes = "1.0.1" tokio = { version = "1.12", features = ["io-util", "time"] } secrecy = { version = "0.7.0", optional = true } snap = "1.0" uuid = "1.0" thiserror = "1.0" num-bigint-03 = { package = "num-bigint", version = "0.3", optional = true } num-bigint-04 = { package = "num-bigint", version = "0.4", optional = true } bigdecimal-04 = { package = "bigdecimal", version = "0.4", optional = true } chrono = { version = "0.4.32", default-features = false, optional = true } lz4_flex = { version = "0.11.1" } async-trait = "0.1.57" serde = { version = "1.0", features = ["derive"], optional = true } time = { version = "0.3", optional = true } [dev-dependencies] criterion = "0.4" # Note: v0.5 needs at least rust 1.70.0 # Use large-dates feature to test potential edge cases time = { version = "0.3.21", features = ["large-dates"] } [[bench]] name = "benchmark" harness = false [features] secret = ["secrecy"] time = ["dep:time"] chrono = ["dep:chrono"] num-bigint-03 = ["dep:num-bigint-03"] num-bigint-04 = ["dep:num-bigint-04"] bigdecimal-04 = ["dep:bigdecimal-04"] full-serialization = [ "chrono", "time", "secret", "num-bigint-03", "num-bigint-04", "bigdecimal-04", ] [lints.rust] unreachable_pub = "warn"