Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): implement Send + Sync #36

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolver = "2"
members = ["stacks", "stacks_derive", "tests"]

[workspace.package]
version = "0.2.7"
version = "0.2.8"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["Max Karou <maxkarou@protonmail.com>"]
Expand Down
2 changes: 2 additions & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ changelog_update = false
[[package]]
name = "stacks-rs"
git_tag_enable = true
git_tag_name = "v{{ version }}"

[[package]]
name = "stacks_derive"
git_tag_enable = false
git_tag_name = "derive-v{{ version }}"
2 changes: 1 addition & 1 deletion stacks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ version = "0.28.2"
features = ["recovery"]

[dependencies.stacks_derive]
version = "0.2.7"
version = "0.2.8"
optional = true
path = "../stacks_derive"

Expand Down
2 changes: 1 addition & 1 deletion stacks/src/clarity/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub(crate) const CLARITY_TYPE_STRING_UTF8: u8 = 0x0e;
pub(crate) const CLARITY_TYPE_NON_STD: u8 = 0xff;

/// Trait for Clarity types.
pub trait Clarity: Codec + Ident + Any + DynClone + Display + Debug {}
pub trait Clarity: Codec + Ident + Any + DynClone + Send + Sync + Display + Debug {}
clone_trait_object!(Clarity);

/// Trait for encoding/decoding consensus data.
Expand Down
1 change: 1 addition & 0 deletions stacks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//
// Usage of this file is permitted solely under a sanctioned license.

#![doc = include_str!("../../README.md")]
#![deny(warnings, clippy::pedantic)]
#![allow(
clippy::module_name_repetitions,
Expand Down
2 changes: 1 addition & 1 deletion stacks/src/transaction/condition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ macro_rules! post_condition {
}

/// Marker trait for post-conditions.
pub trait Condition: Codec + DynClone + Debug {}
pub trait Condition: Codec + DynClone + Send + Sync + Debug {}
clone_trait_object!(Condition);

/// The post-condition code.
Expand Down
2 changes: 1 addition & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ repository.workspace = true
publish = false

[dependencies.stacks-rs]
version = "0.2.7"
version = "0.2.8"
features = ["derive", "wallet-sdk"]
path = "../stacks"
Loading