Skip to content

Commit 01de679

Browse files
chore(bindgen): decouple jco and component bindgen versioning (#635)
* chore(bindgen): decouple versioning for component bindgen Signed-off-by: Victor Adossi <[email protected]> * chore(bindgen): enable doc auto cfg Signed-off-by: Victor Adossi <[email protected]> * fix(bindgen): fix comment links Signed-off-by: Victor Adossi <[email protected]> --------- Signed-off-by: Victor Adossi <[email protected]>
1 parent f58ab9b commit 01de679

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

crates/js-component-bindgen/Cargo.toml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
[package]
22
name = "js-component-bindgen"
3-
authors = [
4-
"Alex Crichton <[email protected]>",
5-
"Guy Bedford <[email protected]>",
6-
]
7-
description = "JS component bindgen for transpiling WebAssembly components into JavaScript"
3+
version = "1.10.0"
84
license = "Apache-2.0 WITH LLVM-exception"
95
categories = ["wasm"]
106
keywords = ["webassembly", "wasm"]
117
homepage = "https://github.com/bytecodealliance/jco/tree/main/crates/js-component-bindgen"
128
repository = "https://github.com/bytecodealliance/jco"
13-
version = { workspace = true }
9+
authors = [
10+
"Alex Crichton <[email protected]>",
11+
"Guy Bedford <[email protected]>",
12+
]
13+
description = "JS component bindgen for transpiling WebAssembly components into JavaScript"
14+
1415
edition = { workspace = true }
1516

1617
[lib]
@@ -20,6 +21,9 @@ crate-type = ["lib"]
2021
default = ["transpile-bindgen"]
2122
transpile-bindgen = []
2223

24+
[package.metadata.docs.rs]
25+
all-features = true
26+
2327
[dependencies]
2428
anyhow = { workspace = true }
2529
base64 = { workspace = true, features = [ "alloc" ] }

crates/js-component-bindgen/src/intrinsics.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,24 +43,24 @@ pub enum Intrinsic {
4343
SymbolDispose,
4444
ThrowInvalidBool,
4545
ThrowUninitialized,
46-
/// Implementation of https://tc39.es/ecma262/#sec-tobigint64.
46+
/// Implementation of <https://tc39.es/ecma262/#sec-tobigint64>
4747
ToBigInt64,
48-
/// Implementation of https://tc39.es/ecma262/#sec-tobiguint64.
48+
/// Implementation of <https://tc39.es/ecma262/#sec-tobiguint64>
4949
ToBigUint64,
50-
/// Implementation of https://tc39.es/ecma262/#sec-toint16.
50+
/// Implementation of <https://tc39.es/ecma262/#sec-toint16>
5151
ToInt16,
52-
/// Implementation of https://tc39.es/ecma262/#sec-toint32.
52+
/// Implementation of <https://tc39.es/ecma262/#sec-toint32>
5353
ToInt32,
54-
/// Implementation of https://tc39.es/ecma262/#sec-toint8.
54+
/// Implementation of <https://tc39.es/ecma262/#sec-toint8>
5555
ToInt8,
5656
ToResultString,
57-
/// Implementation of https://tc39.es/ecma262/#sec-tostring.
57+
/// Implementation of <https://tc39.es/ecma262/#sec-tostring>
5858
ToString,
59-
/// Implementation of https://tc39.es/ecma262/#sec-touint16.
59+
/// Implementation of <https://tc39.es/ecma262/#sec-touint16>
6060
ToUint16,
61-
/// Implementation of https://tc39.es/ecma262/#sec-touint32.
61+
/// Implementation of <https://tc39.es/ecma262/#sec-touint32>
6262
ToUint32,
63-
/// Implementation of https://tc39.es/ecma262/#sec-touint8.
63+
/// Implementation of <https://tc39.es/ecma262/#sec-touint8>
6464
ToUint8,
6565
Utf16Decoder,
6666
Utf16Encode,

crates/js-component-bindgen/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
12
mod core;
23
mod files;
34
mod transpile_bindgen;

0 commit comments

Comments
 (0)