diff --git a/CHANGELOG.md b/CHANGELOG.md index a1d1e15..7c1e8fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,30 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.4.3](https://github.com/fMeow/arangors/compare/v0.4.2...v0.4.3) (2020-08-20) + + +### ⚠ BREAKING CHANGES + +* **Connection:** validate_server is now a static method +* rename r#type field of +collection::response::Info to collection_type + +### Features + +* index management ([#33](https://github.com/fMeow/arangors/issues/33)) ([b2c4234](https://github.com/fMeow/arangors/commit/b2c423443e7c8f1db6d4d778515018397f4d3806)) +* **Connection:** validate_server is now static method ([e908d47](https://github.com/fMeow/arangors/commit/e908d473605af6a835076892742f722b17d5260c)) +* **database:** add method to get database name ([fa7a409](https://github.com/fMeow/arangors/commit/fa7a409ecc2081ac4682e77c1f04cd86a0ff0928)) +* get db struct from a collection ([20d2505](https://github.com/fMeow/arangors/commit/20d25053feeea24ec916c5ddf9495a17396ba5a1)) + + +### Bug Fixes + +* rename collection_type to type when deserialize ([e99a8d5](https://github.com/fMeow/arangors/commit/e99a8d50df04822136598dfd5824ff09985c1a0d)) + + +* rename r#type to collection_type ([2bbfe19](https://github.com/fMeow/arangors/commit/2bbfe1980130519931a809be6ead0989902cf34d)) + ## [0.4.2](https://github.com/fMeow/arangors/compare/v0.4.1...v0.4.2) (2020-07-26) diff --git a/Cargo.toml b/Cargo.toml index ff511a3..d56b4cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,43 +1,34 @@ [package] name = "arangors" -version = "0.4.2" +version = "0.4.3" edition = "2018" -authors = ["Guoli Lyu "] +authors = [ "Guoli Lyu " ] readme = "README.md" license = "MIT" description = "Rust driver for ArangoDB" repository = "https://github.com/fMeow/arangors" documentation = "https://docs.rs/arangors" -keywords = ["nosql", "database", "client", "driver", "arangoDB"] -exclude = [ - ".gitignore", - ".github", - "tests/**/*", -] +keywords = [ "nosql", "database", "client", "driver", "arangoDB" ] +exclude = [ ".gitignore", ".github", "tests/**/*" ] [package.metadata.docs.rs] all-features = false -features = [ - "rocksdb", - "reqwest_async" -] +features = [ "rocksdb", "reqwest_async" ] -[badges] -maintenance = { status = "actively-developed" } +[badges.maintenance] +status = "actively-developed" [features] -default = ["rocksdb", "reqwest_async"] -blocking = ["maybe-async/is_sync"] -reqwest_async = ["reqwest"] -reqwest_blocking = ["reqwest/blocking", "blocking"] -surf_async = ["surf"] - -cluster = [] -enterprise = [] -mmfiles = [] -rocksdb = [] -arango3_7 = [] - +default = [ "rocksdb", "reqwest_async" ] +blocking = [ "maybe-async/is_sync" ] +reqwest_async = [ "reqwest" ] +reqwest_blocking = [ "reqwest/blocking", "blocking" ] +surf_async = [ "surf" ] +cluster = [ ] +enterprise = [ ] +mmfiles = [ ] +rocksdb = [ ] +arango3_7 = [ ] [dependencies] async-trait = "0.1" @@ -45,22 +36,36 @@ base64 = "0.12" http = "0.2" log = "0.4" maybe-async = "0.2" -serde = { version = "1", features = ["derive"] } serde_json = "1" serde_qs = "0.6" thiserror = "1" typed-builder = "0.7" url = "2" -reqwest = { version = "0.10.4", features = ["gzip", "json"], optional = true } -surf = { version = "2.0.0-alpha.4", optional = true } + [dependencies.serde] + version = "1" + features = [ "derive" ] + + [dependencies.reqwest] + version = "0.10.4" + features = [ "gzip", "json" ] + optional = true + [dependencies.surf] + version = "2.0.0-alpha.4" + optional = true [dev-dependencies] env_logger = "0.7.1" pretty_assertions = "0.6.1" dotenv = "0.15.0" regex = "1.3.7" -tokio = { version = "0.2.18", features = ["macros", "rt-core"]} -async-std = { version = "1", features = ["attributes"]} anyhow = "1" + + [dev-dependencies.tokio] + version = "0.2.18" + features = [ "macros", "rt-core" ] + + [dev-dependencies.async-std] + version = "1" + features = [ "attributes" ]