questdb / c-questdb-client

Rust, C and C++ client for QuestDB InfluxDB Line Protocol
Apache License 2.0
47 stars 13 forks source link

Error in Getting Started example #60

Closed jerrinot closed 8 months ago

jerrinot commented 8 months ago

The Getting Started at https://crates.io/crates/questdb-rs has the following example:

This Rust crate supports a number of optional features. For example, if you want to work with ILP/HTTP and work with Chrono timestamps, use: cargo add questdb-rs --features ilp-over-http chrono

but when I execute cargo add questdb-rs --features ilp-over-http chrono I get this error:

error: feature ilp-over-http must be qualified by the dependency it's being activated for, like questdb-rs/ilp-over-http, chrono/ilp-over-http

I tried to add chrono as a dependency first and only then run cargo add questdb-rs --features ilp-over-http chrono but I'm still getting the same error.

eugenels commented 8 months ago

Multiple features may be separated with commas or spaces. cargo add questdb-rs --features ilp-over-http,chrono or cargo add questdb-rs --features "ilp-over-http chrono" use quotes if a space is used as a separator