Skip to content

Commit

Permalink
Bump cxx-async to 0.1.2 (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xuanwo authored Nov 12, 2024
1 parent 4b59755 commit 043150a
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 40 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 8 additions & 15 deletions cxx-async/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "cxx-async"
version = "0.1.1"
version = "0.1.2"
authors = ["Patrick Walton <[email protected]>"]
edition = "2021"
links = "cxx-async"
description = "Simple interoperability between C++ coroutines and asynchronous Rust"
license = "MIT OR Apache-2.0"
readme = "../README.md"
repository = "https://github.com/pcwalton/cxx-async"
keywords = ["ffi", "c++", "async"]
keywords = ["ffi", "cpp", "async"]
homepage = "https://github.com/pcwalton/cxx-async"

[lib]
Expand All @@ -20,20 +20,13 @@ async-recursion = "1"
once_cell = "1"
pin-utils = "0.1"

[dependencies.cxx]
version = "1"
features = ["c++20"]
# CXX related dependencies
cxx = { version = "1", features = ["c++20"] }
cxx-async-macro = { version = "0.1.1", path = "../macro" }
link-cplusplus = { version = "1" }

[dependencies.cxx-async-macro]
path = "../macro"
version = "0.1.1"

[dependencies.futures]
version = "0.3"
features = ["thread-pool"]

[dependencies.link-cplusplus]
version = "1"
# Async related dependencies
futures = { version = "0.3", features = ["thread-pool"] }

[build-dependencies]
cxx-build = "1"
Expand Down
14 changes: 5 additions & 9 deletions examples/cppcoro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,12 @@ edition = "2018"
async-recursion = "0.3"
once_cell = "1"

[dependencies.cxx]
version = "1"
features = ["c++20"]
# CXX related dependencies
cxx = { version = "1", features = ["c++20"] }
cxx-async = { path = "../../cxx-async" }

[dependencies.cxx-async]
path = "../../cxx-async"

[dependencies.futures]
version = "0.3"
features = ["thread-pool"]
# Async related dependencies
futures = { version = "0.3", features = ["thread-pool"] }

[build-dependencies]
cxx-build = "1"
Expand Down
14 changes: 5 additions & 9 deletions examples/folly/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,12 @@ edition = "2018"
async-recursion = "0.3"
once_cell = "1"

[dependencies.cxx]
version = "1"
features = ["c++20"]
# CXX related dependencies
cxx = { version = "1", features = ["c++20"] }
cxx-async = { path = "../../cxx-async" }

[dependencies.cxx-async]
path = "../../cxx-async"

[dependencies.futures]
version = "0.3"
features = ["thread-pool"]
# Async related dependencies
futures = { version = "0.3", features = ["thread-pool"] }

[build-dependencies]
cxx-build = "1"
Expand Down
7 changes: 2 additions & 5 deletions macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cxx-async-macro"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
description = "The macro for simple interoperability between C++ coroutines and asynchronous Rust"
license = "MIT OR Apache-2.0"
Expand All @@ -14,7 +14,4 @@ proc-macro = true
[dependencies]
proc-macro2 = "1"
quote = "1"

[dependencies.syn]
version = "1"
features = ["full"]
syn = { version = "1", features = ["full"] }

0 comments on commit 043150a

Please sign in to comment.