Skip to content

Add DynClone to make the builder cloneable - #205

Open
stevefan1999-personal wants to merge 2 commits into
rust-ammonia:masterfrom
stevefan1999-personal:master
Open

Add DynClone to make the builder cloneable#205
stevefan1999-personal wants to merge 2 commits into
rust-ammonia:masterfrom
stevefan1999-personal:master

Conversation

@stevefan1999-personal

Copy link
Copy Markdown

This PR uses https://github.com/dtolnay/dyn-clone and modified some traits to use DynClone, so that eventually the Builder can now be Clone. Notice while the cargo test fully passes for this, this is a potentially ABI breaking change.

@notriddle

Copy link
Copy Markdown
Member

This change makes sense to me, but will definitely require a major version bump.

cc @lnicola

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants