Skip to content

Commit 518d9a4

Browse files
bryantbiggsrusscam
authored andcommitted
Feature / objekt -> dyn-clone (#40)
The crate `objekt` has been renamed to `dyn-clone`, this updates that change and closes #39
1 parent 89c3d47 commit 518d9a4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

elasticsearch/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ readme = "../README.md"
1313
[dependencies]
1414
base64 = "0.11.0"
1515
bytes = "^0.5"
16-
objekt = "0.1.2"
16+
dyn-clone = "1.0.1"
1717
reqwest = { version = "0.10.0", features = ["gzip", "json", "native-tls"] }
1818
url = "1.7.2"
1919
serde = { version = "~1", features = ["derive"] }

elasticsearch/src/http/transport.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ impl Default for Transport {
286286
/// to get the next [Connection]. The simplest type of [ConnectionPool] is [SingleNodeConnectionPool],
287287
/// which manages only a single connection, but other implementations may manage connections more
288288
/// dynamically at runtime, based upon the response to API calls.
289-
pub trait ConnectionPool: Debug + objekt::Clone {
289+
pub trait ConnectionPool: Debug + dyn_clone::DynClone {
290290
/// Gets a reference to the next [Connection]
291291
fn next(&self) -> &Connection;
292292
}

elasticsearch/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ type _DoctestReadme = ();
308308
//#![deny(missing_docs)]
309309

310310
#[macro_use]
311-
extern crate objekt;
311+
extern crate dyn_clone;
312312
extern crate reqwest;
313313
extern crate serde;
314314
extern crate serde_json;

0 commit comments

Comments
 (0)