Skip to content

Commit 38e34c5

Browse files
authored
Merge pull request #6 from PyO3/davidhewitt-patch-1-1
update CI to run targeting main
2 parents 98dee5d + 5fbc57c commit 38e34c5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
env:
1212
CARGO_TERM_COLOR: always

src/async_std.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ pub mod re_exports {
3434

3535
/// <span class="module-item stab portability" style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"><code>attributes</code></span> Provides the boilerplate for the `async-std` runtime and runs an async fn as main
3636
#[cfg(feature = "attributes")]
37-
pub use pyo3_asyncio_macros_0_21::async_std_main as main;
37+
pub use pyo3_async_runtimes_macros::async_std_main as main;
3838

3939
/// <span class="module-item stab portability" style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"><code>attributes</code></span>
4040
/// <span class="module-item stab portability" style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"><code>testing</code></span>
4141
/// Registers an `async-std` test with the `pyo3-asyncio` test harness
4242
#[cfg(all(feature = "attributes", feature = "testing"))]
43-
pub use pyo3_asyncio_macros_0_21::async_std_test as test;
43+
pub use pyo3_async_runtimes_macros::async_std_test as test;
4444

4545
struct AsyncStdJoinErr(Box<dyn Any + Send + 'static>);
4646

src/tokio.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ pub mod re_exports {
4343

4444
/// <span class="module-item stab portability" style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"><code>attributes</code></span>
4545
#[cfg(feature = "attributes")]
46-
pub use pyo3_asyncio_macros_0_21::tokio_main as main;
46+
pub use pyo3_async_runtimes_macros::tokio_main as main;
4747

4848
/// <span class="module-item stab portability" style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"><code>attributes</code></span>
4949
/// <span class="module-item stab portability" style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"><code>testing</code></span>
5050
/// Registers a `tokio` test with the `pyo3-asyncio` test harness
5151
#[cfg(all(feature = "attributes", feature = "testing"))]
52-
pub use pyo3_asyncio_macros_0_21::tokio_test as test;
52+
pub use pyo3_async_runtimes_macros::tokio_test as test;
5353

5454
enum Pyo3Runtime {
5555
Borrowed(&'static Runtime),

0 commit comments

Comments
 (0)