diff --git a/Cargo.toml b/Cargo.toml index d62168e..79d3d6b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,10 @@ edition = "2018" activitystreams = { version = "0.6.1", default-features = false, features = ["kinds","primitives"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" +typed-builder = "0.5.1" [dev-dependencies] anyhow = "1.0" + +[patch.crates-io] +typed-builder = { git = "https://git.asonix.dog/asonix/typed-builder" } diff --git a/examples/basic.rs b/examples/basic.rs index 3d28669..c7e3d5a 100644 --- a/examples/basic.rs +++ b/examples/basic.rs @@ -5,22 +5,16 @@ use activitystreams_new::{ }; fn main() -> Result<(), Box> { - let mut v: ApObject