Skip to content

Commit aa2aa82

Browse files
committed
Rename crate
1 parent 1cad3ba commit aa2aa82

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
2-
name = "rquickjs-module"
2+
name = "rquickjs-extension"
33
repository = "https://github.com/rquickjs/rquickjs-module"
4-
description = "An improved module system for rquickjs"
4+
description = "An extension system for rquickjs"
55
license = "MIT"
66
authors = [
77
"Emile Fugulin <[email protected]>",

tests/globals.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use rquickjs::{async_with, AsyncContext, AsyncRuntime, CatchResultExt, Object, Result};
2-
use rquickjs_module::{globals_only_module, GlobalsOnly, ModuleDefExt, ModuleLoader};
2+
use rquickjs_extension::{globals_only_module, GlobalsOnly, Extension, ModuleLoader};
33

44
use self::common::{Printer, PrinterOptions};
55

@@ -19,7 +19,7 @@ impl PrinterModule {
1919
}
2020
}
2121

22-
impl ModuleDefExt<PrinterOptions> for PrinterModule {
22+
impl Extension<PrinterOptions> for PrinterModule {
2323
type Implementation = GlobalsOnly;
2424

2525
fn implementation() -> &'static Self::Implementation {

tests/module.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use rquickjs::{
22
async_with, AsyncContext, AsyncRuntime, CatchResultExt, Function, Module, Object, Result,
33
};
4-
use rquickjs_module::{ModuleDefExt, ModuleImpl, ModuleLoader};
4+
use rquickjs_extension::{Extension, ModuleImpl, ModuleLoader};
55

66
use self::common::{Printer, PrinterOptions};
77

@@ -21,7 +21,7 @@ impl PrinterModule {
2121
}
2222
}
2323

24-
impl ModuleDefExt<PrinterOptions> for PrinterModule {
24+
impl Extension<PrinterOptions> for PrinterModule {
2525
type Implementation = ModuleImpl<PrinterOptions>;
2626

2727
fn implementation() -> &'static Self::Implementation {

0 commit comments

Comments
 (0)