Skip to content

Commit

Permalink
Merge pull request #54 from CleverCloud/devel/fdubois/chore/update-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentinDUBOIS authored Mar 13, 2023
2 parents 412ce52 + 7fa7d47 commit 21f4975
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ keywords = [

[dependencies]
async-trait = "^0.1.66"
oauth10a = "^1.3.17"
oauth10a = "^1.3.18"
log = { version = "^0.4.17", optional = true }
hyper = { version = "^0.14.24", default-features = false }
hyper = { version = "^0.14.25", default-features = false }
schemars = { version = "^0.8.12", features = [
"chrono",
"indexmap1",
"uuid1",
"bytes",
"url",
], optional = true }
serde = { version = "^1.0.152", features = ["derive"] }
serde = { version = "^1.0.155", features = ["derive"] }
serde_repr = "^0.1.11"
thiserror = "^1.0.39"
tracing = { version = "^0.1.37", optional = true }
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ You could found more examples of how you could use the clevercloud-sdk by lookin

## Features

| name | description |
| ----------- | ------------------------------------------------------------------------------------------------- |
| trace | Use `tracing` crate to expose traces |
| tokio | Use `tokio` crate as back-end for `tracing` crate |
| jsonschemas | Use `schemars` to add a derive instruction to generate json schemas representation of structures |
| logging | Use the `log` facility crate to print logs. Implies `oauth10a/logging` feature |
| metrics | Use `lazy_static` and `prometheus` crates to register metrics. Implies `oauth10a/metrics` feature |
| name | description |
| ----------- |--------------------------------------------------------------------------------------------------|
| trace | Use `tracing` crate to expose traces |
| tokio | Use `tokio` crate as back-end for `tracing` crate |
| jsonschemas | Use `schemars` to add a derive instruction to generate json schemas representation of structures |
| logging | Use the `log` facility crate to print logs. Implies `oauth10a/logging` feature |
| metrics | Expose HTTP metrics through `oauth10a` crate feature. |

### Metrics

Expand Down
6 changes: 2 additions & 4 deletions examples/cleverctl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ edition = "2021"

[dependencies]
async-trait = "^0.1.66"
# Pin version as it fail to build on latest versions
ahash = "=0.7.5"
clevercloud-sdk = { path = "../..", features = ["tokio", "metrics", "trace", "jsonschemas"] }
clap = { version = "^4.1.8", features = ["derive"] }
config = "^0.13.2"
config = "^0.13.3"
paw = "^1.0.0"
serde = { version = "^1.0.152", features = ["derive"] }
serde = { version = "^1.0.155", features = ["derive"] }
serde_json = "^1.0.94"
serde_yaml = "^0.9.19"
thiserror = "^1.0.39"
Expand Down

0 comments on commit 21f4975

Please sign in to comment.