From cd03fd254de79d6a82464b181c35dc75c3a51198 Mon Sep 17 00:00:00 2001 From: Markus Westerlind Date: Sun, 27 Oct 2019 11:19:26 +0100 Subject: [PATCH] Version 0.13.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## v0.13.0 (2019-10-27) #### Performance * Only do one hash lookup when creating a Symbol ([a709c712](https://github.com/gluon-lang/gluon/commit/a709c7120ff151d368128cf7c0a89d667c91015c)) * Shrink Type's size to 48 bytes (from 64) ([178180f8](https://github.com/gluon-lang/gluon/commit/178180f8b4555c8ae831d428fc464cb0a4179455)) * Avoid RefCell in Fixed* structurs (-1%) ([de32dbd6](https://github.com/gluon-lang/gluon/commit/de32dbd631beb0958c7c0fcb655807fda874a2a7)) * Avoid recursion in implicits.rs ([89eb836a](https://github.com/gluon-lang/gluon/commit/89eb836afbd2e5d43324c141fad52b761816c754)) * Only mark types with unbound generics as HAS_GENERICS ([3d835a8a](https://github.com/gluon-lang/gluon/commit/3d835a8adaf2b3c63ef31d512780c9b6de2be5d8)) * Avoid computing the plain name in name_eq (-3%) ([a7ac9f80](https://github.com/gluon-lang/gluon/commit/a7ac9f800d7f1ad944d81140dfe6be99d59f7943)) * **check:** * Use RefCell::get_mut when possible ([12441438](https://github.com/gluon-lang/gluon/commit/1244143838ed56fcc7d257ef6f9288d38754f60d)) * Remove redundant operations in union ([f3d4203a](https://github.com/gluon-lang/gluon/commit/f3d4203a44074467e40240afc2cbf5547403efcc)) * No need to lookup the type again before querying the level ([5e4efe37](https://github.com/gluon-lang/gluon/commit/5e4efe37386f4d937fa8afa8b8d06b4aed7c738e)) * Remove some branches in the occurs check¨ ([03e7c3b4](https://github.com/gluon-lang/gluon/commit/03e7c3b4b22e5abd53b2af64f09849ba0ca43b32)) * Only initialize the variable generator when it is necessary (-3%) ([793b6580](https://github.com/gluon-lang/gluon/commit/793b658082f71f016655f7f4f3e44432814116fa)) * Only do one lookup/insertion on the implicit definition map ([0ea13ff1](https://github.com/gluon-lang/gluon/commit/0ea13ff1923527bbc69a5fa44ce905fe2a4c593d)) * Narrow down the implicit parititioning further (-10%) ([a9c965b4](https://github.com/gluon-lang/gluon/commit/a9c965b418cbff642d5c8a0c9c3c7821b610eb12)) * Avoid looking through metadata when checking for an implicit type ([4a3662e9](https://github.com/gluon-lang/gluon/commit/4a3662e9e108b902ed61f17d9e2da204d29e54bf)) * Only add implicit fields if the binding is implicit ([da861eba](https://github.com/gluon-lang/gluon/commit/da861ebad00a6f336d7fc7cbc99bf8703cd4b567), breaks [#](https://github.com/gluon-lang/gluon/issues/)) * **optimize:** Allocate core syntax directly into arenas ([723ec4d6](https://github.com/gluon-lang/gluon/commit/723ec4d6e2026865ac3cfca29253786dc6bbee49)) * **parser:** * Shrink the Token type and remove it's need to Drop ([3016f251](https://github.com/gluon-lang/gluon/commit/3016f251b35f01da81ab8ea51e2ea8f62c1ac870)) * Simplify tokenization iterators ([c7061c7b](https://github.com/gluon-lang/gluon/commit/c7061c7bef60b3ab3367dd06399d3bf5b8deae84)) * **vm:** * Add function inlining ([5093137a](https://github.com/gluon-lang/gluon/commit/5093137a42f2b9ad757f5b712ad9a1a192b22b5e)) * Eliminate redundant match expressions ([945fb83d](https://github.com/gluon-lang/gluon/commit/945fb83df71a2fdca4353aedf9ff1349aa53ea01)) * Implement inter-module dead code elimination ([ab1b1b80](https://github.com/gluon-lang/gluon/commit/ab1b1b806fa4a99f1955ff1a2896b81cdd7b016d)) * Avoid tracing global values unless we are in the root gc (-7%) ([48a5313e](https://github.com/gluon-lang/gluon/commit/48a5313ebea8751a3815d2664a1ab001b399a8cb)) * Avoid the bounds check when fetching instructions ([c2778e7f](https://github.com/gluon-lang/gluon/commit/c2778e7fda9f424d710e9ac96f0d10051766e6f1)) * Faster updates to the stack frame ([2b94a3af](https://github.com/gluon-lang/gluon/commit/2b94a3af600a8bea64478384535fe378ba74a08d)) * Cache the frame offset for the stack (-20%) ([0469cb2e](https://github.com/gluon-lang/gluon/commit/0469cb2ef5bad94c3d52b52fd8186aa424c035e5)) * Copy instead of clone unrooted gc values ([a0396f40](https://github.com/gluon-lang/gluon/commit/a0396f4039641ad228b3cce2b0bfa0f443742c57)) #### Breaking Changes * Replace Compiler with the ThreadExt trait ([c16132eb](https://github.com/gluon-lang/gluon/commit/c16132eb2c817926aba6a89b33f63b917bb71458), breaks [#](https://github.com/gluon-lang/gluon/issues/)) * **check:** Only add implicit fields if the binding is implicit ([da861eba](https://github.com/gluon-lang/gluon/commit/da861ebad00a6f336d7fc7cbc99bf8703cd4b567), breaks [#](https://github.com/gluon-lang/gluon/issues/)) #### Bug Fixes * Don't leak implicit bindings into adjacent scopes ([5681ffc5](https://github.com/gluon-lang/gluon/commit/5681ffc5c611dfbad235256f053b11525b91542c), closes [#783](https://github.com/gluon-lang/gluon/issues/783)) * ignore formatting in std.test due to a bug ([bdccee6f](https://github.com/gluon-lang/gluon/commit/bdccee6f53411d113b9bd8dd1e89cbb5dff9ace4)) * rerefix formatting ([31166161](https://github.com/gluon-lang/gluon/commit/31166161c78e4f38dca50daa695c0af994d70bbe)) * refix formatting ([fcb7f0bb](https://github.com/gluon-lang/gluon/commit/fcb7f0bb56343f314b3d126b5ebfa95f572f9ee0)) * fix formatting and apply naming suggesions ([6bb0d87c](https://github.com/gluon-lang/gluon/commit/6bb0d87cabf329f0a2585efd0e8daec4eca2c3ca)) * Make the behaviour consistent for `Show Char` ([0ff89870](https://github.com/gluon-lang/gluon/commit/0ff89870fe064c3b8c524e862f07a5faaa85dd14)) * Avoid infinite loops/extremely slow optimization ([dc7ec72a](https://github.com/gluon-lang/gluon/commit/dc7ec72ab053de68533f794621ea756fe66c35b0)) * Expand macros inside macros ([5a294330](https://github.com/gluon-lang/gluon/commit/5a2943300b9010acf3913c535c983f10af4c9ec7)) * Invalidate text properly so rexpect tests work ([92e45081](https://github.com/gluon-lang/gluon/commit/92e4508172607ae99e3de5d75a3874832682c470)) * Don't depend on ansi_term in windows to make windows 7 work ([58e2a8b9](https://github.com/gluon-lang/gluon/commit/58e2a8b940f89abcdaaf0e0beafcc9f6bf04cabf), closes [#777](https://github.com/gluon-lang/gluon/issues/777)) * Add tests and fix the regression with clone_userdata ([df078725](https://github.com/gluon-lang/gluon/commit/df078725965297c2920403d5ffc1c230273058d5)) * Ensure that threads are dropped when using child threads ([b9efb513](https://github.com/gluon-lang/gluon/commit/b9efb513527c0ce51eef648f69b48e2252929365)) * **check:** Handle aliases better in `do` ([770e52ea](https://github.com/gluon-lang/gluon/commit/770e52ea202d9fe1648b36f90cb9bab64d09b906), closes [#766](https://github.com/gluon-lang/gluon/issues/766)) * **repl:** make the REPL respect --no-std ([e7974706](https://github.com/gluon-lang/gluon/commit/e79747067ca6538581ee4c3d2fe6631a087db53d)) * **std:** export missing assertions in std.test ([41f4fc52](https://github.com/gluon-lang/gluon/commit/41f4fc524c00243b71a1fce01a134a2a08ce145f)) * **vm:** * Don't (rust) panic in string.split_at ([50f937b3](https://github.com/gluon-lang/gluon/commit/50f937b3598adc52f8ec5eec19f6701d38c2fd38), closes [#757](https://github.com/gluon-lang/gluon/issues/757)) * Accept trailing comma in record macros ([f35c0b96](https://github.com/gluon-lang/gluon/commit/f35c0b96c255d209daf3b9e33362af4c5e1cdb38), closes [#770](https://github.com/gluon-lang/gluon/issues/770)) #### Features * Use implicit Monoids in std.foldable ([295b8c3d](https://github.com/gluon-lang/gluon/commit/295b8c3dfc3db3e4d5bd17e5b14ed4fdf4eb0362)) * Add a mutable string type to the ST monad ([9ec946b4](https://github.com/gluon-lang/gluon/commit/9ec946b418842c6ac136406230d96e102d86b7fe)) * Allow attributes to be specified on fields inside types ([fb35db51](https://github.com/gluon-lang/gluon/commit/fb35db5153161d1ee393ae29bc9adfc1db553458)) * Provide std.effect.io as a mirror of std.io ([66e49b37](https://github.com/gluon-lang/gluon/commit/66e49b37196db18c36909900c46ccdc69254a7b0)) * Replace Compiler with the ThreadExt trait ([c16132eb](https://github.com/gluon-lang/gluon/commit/c16132eb2c817926aba6a89b33f63b917bb71458), breaks [#](https://github.com/gluon-lang/gluon/issues/)) * Use salsa for incremental compilation ([7bc82532](https://github.com/gluon-lang/gluon/commit/7bc82532f5aa7f9787d385ce97f0a769594b8064)) * Add history hints and bracket highlight to the REPL ([10ef8cdf](https://github.com/gluon-lang/gluon/commit/10ef8cdf39baa5ad0cc7dd6817e59b8ea04f028f)) * Use line/column numbers in lambda names ([201fdfb9](https://github.com/gluon-lang/gluon/commit/201fdfb9ed132adfca8055abae84a9ea8f00dcf8)) * **codegen:** Map Rust's struct enums to records in Gluon. ([afb682e5](https://github.com/gluon-lang/gluon/commit/afb682e55d6115748a9861ff3086c934fe74afcf)) * **repl:** add --no-std option to gluon.exe ([f2c1819f](https://github.com/gluon-lang/gluon/commit/f2c1819f9fc5ba3cb8d5d005b5ae61c1c74af658)) * **std:** * add ordering assertions ([3efac996](https://github.com/gluon-lang/gluon/commit/3efac9963deb031e78462d00e49d090ab911cbd4)) * add a few functions to std.test & std.effect.error ([58e00431](https://github.com/gluon-lang/gluon/commit/58e00431a815ebdd7dae94a4d58a0c621d22aafd)) * **vm:** Make macro errors implement PartialEq, Eq, Hash and Clone ([039825ab](https://github.com/gluon-lang/gluon/commit/039825abebc4fcd445c08574bd3cc0dd6f97a69f)) --- CHANGELOG.md | 81 +++++++++++++++++++++++++++++++++++++++ Cargo.lock | 88 +++++++++++++++++++++---------------------- Cargo.toml | 20 +++++----- README.md | 2 +- base/Cargo.toml | 2 +- base/src/lib.rs | 2 +- c-api/Cargo.toml | 4 +- c-api/src/lib.rs | 2 +- check/Cargo.toml | 8 ++-- check/src/lib.rs | 2 +- codegen/Cargo.toml | 2 +- completion/Cargo.toml | 8 ++-- completion/src/lib.rs | 2 +- doc/Cargo.toml | 6 +-- format/Cargo.toml | 6 +-- format/src/lib.rs | 2 +- parser/Cargo.toml | 4 +- parser/src/lib.rs | 2 +- repl/Cargo.toml | 14 +++---- src/lib.rs | 2 +- vm/Cargo.toml | 12 +++--- vm/src/lib.rs | 2 +- 22 files changed, 177 insertions(+), 96 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 600176a2db..c12c97a92f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,84 @@ + +## v0.13.0 (2019-10-27) + + +#### Performance + +* Only do one hash lookup when creating a Symbol ([a709c712](https://github.com/gluon-lang/gluon/commit/a709c7120ff151d368128cf7c0a89d667c91015c)) +* Shrink Type's size to 48 bytes (from 64) ([178180f8](https://github.com/gluon-lang/gluon/commit/178180f8b4555c8ae831d428fc464cb0a4179455)) +* Avoid RefCell in Fixed* structurs (-1%) ([de32dbd6](https://github.com/gluon-lang/gluon/commit/de32dbd631beb0958c7c0fcb655807fda874a2a7)) +* Avoid recursion in implicits.rs ([89eb836a](https://github.com/gluon-lang/gluon/commit/89eb836afbd2e5d43324c141fad52b761816c754)) +* Only mark types with unbound generics as HAS_GENERICS ([3d835a8a](https://github.com/gluon-lang/gluon/commit/3d835a8adaf2b3c63ef31d512780c9b6de2be5d8)) +* Avoid computing the plain name in name_eq (-3%) ([a7ac9f80](https://github.com/gluon-lang/gluon/commit/a7ac9f800d7f1ad944d81140dfe6be99d59f7943)) +* **check:** + * Use RefCell::get_mut when possible ([12441438](https://github.com/gluon-lang/gluon/commit/1244143838ed56fcc7d257ef6f9288d38754f60d)) + * Remove redundant operations in union ([f3d4203a](https://github.com/gluon-lang/gluon/commit/f3d4203a44074467e40240afc2cbf5547403efcc)) + * No need to lookup the type again before querying the level ([5e4efe37](https://github.com/gluon-lang/gluon/commit/5e4efe37386f4d937fa8afa8b8d06b4aed7c738e)) + * Remove some branches in the occurs check¨ ([03e7c3b4](https://github.com/gluon-lang/gluon/commit/03e7c3b4b22e5abd53b2af64f09849ba0ca43b32)) + * Only initialize the variable generator when it is necessary (-3%) ([793b6580](https://github.com/gluon-lang/gluon/commit/793b658082f71f016655f7f4f3e44432814116fa)) + * Only do one lookup/insertion on the implicit definition map ([0ea13ff1](https://github.com/gluon-lang/gluon/commit/0ea13ff1923527bbc69a5fa44ce905fe2a4c593d)) + * Narrow down the implicit parititioning further (-10%) ([a9c965b4](https://github.com/gluon-lang/gluon/commit/a9c965b418cbff642d5c8a0c9c3c7821b610eb12)) + * Avoid looking through metadata when checking for an implicit type ([4a3662e9](https://github.com/gluon-lang/gluon/commit/4a3662e9e108b902ed61f17d9e2da204d29e54bf)) + * Only add implicit fields if the binding is implicit ([da861eba](https://github.com/gluon-lang/gluon/commit/da861ebad00a6f336d7fc7cbc99bf8703cd4b567), breaks [#](https://github.com/gluon-lang/gluon/issues/)) +* **optimize:** Allocate core syntax directly into arenas ([723ec4d6](https://github.com/gluon-lang/gluon/commit/723ec4d6e2026865ac3cfca29253786dc6bbee49)) +* **parser:** + * Shrink the Token type and remove it's need to Drop ([3016f251](https://github.com/gluon-lang/gluon/commit/3016f251b35f01da81ab8ea51e2ea8f62c1ac870)) + * Simplify tokenization iterators ([c7061c7b](https://github.com/gluon-lang/gluon/commit/c7061c7bef60b3ab3367dd06399d3bf5b8deae84)) +* **vm:** + * Add function inlining ([5093137a](https://github.com/gluon-lang/gluon/commit/5093137a42f2b9ad757f5b712ad9a1a192b22b5e)) + * Eliminate redundant match expressions ([945fb83d](https://github.com/gluon-lang/gluon/commit/945fb83df71a2fdca4353aedf9ff1349aa53ea01)) + * Implement inter-module dead code elimination ([ab1b1b80](https://github.com/gluon-lang/gluon/commit/ab1b1b806fa4a99f1955ff1a2896b81cdd7b016d)) + * Avoid tracing global values unless we are in the root gc (-7%) ([48a5313e](https://github.com/gluon-lang/gluon/commit/48a5313ebea8751a3815d2664a1ab001b399a8cb)) + * Avoid the bounds check when fetching instructions ([c2778e7f](https://github.com/gluon-lang/gluon/commit/c2778e7fda9f424d710e9ac96f0d10051766e6f1)) + * Faster updates to the stack frame ([2b94a3af](https://github.com/gluon-lang/gluon/commit/2b94a3af600a8bea64478384535fe378ba74a08d)) + * Cache the frame offset for the stack (-20%) ([0469cb2e](https://github.com/gluon-lang/gluon/commit/0469cb2ef5bad94c3d52b52fd8186aa424c035e5)) + * Copy instead of clone unrooted gc values ([a0396f40](https://github.com/gluon-lang/gluon/commit/a0396f4039641ad228b3cce2b0bfa0f443742c57)) + +#### Breaking Changes + +* Replace Compiler with the ThreadExt trait ([c16132eb](https://github.com/gluon-lang/gluon/commit/c16132eb2c817926aba6a89b33f63b917bb71458), breaks [#](https://github.com/gluon-lang/gluon/issues/)) +* **check:** Only add implicit fields if the binding is implicit ([da861eba](https://github.com/gluon-lang/gluon/commit/da861ebad00a6f336d7fc7cbc99bf8703cd4b567), breaks [#](https://github.com/gluon-lang/gluon/issues/)) + +#### Bug Fixes + +* Don't leak implicit bindings into adjacent scopes ([5681ffc5](https://github.com/gluon-lang/gluon/commit/5681ffc5c611dfbad235256f053b11525b91542c), closes [#783](https://github.com/gluon-lang/gluon/issues/783)) +* ignore formatting in std.test due to a bug ([bdccee6f](https://github.com/gluon-lang/gluon/commit/bdccee6f53411d113b9bd8dd1e89cbb5dff9ace4)) +* rerefix formatting ([31166161](https://github.com/gluon-lang/gluon/commit/31166161c78e4f38dca50daa695c0af994d70bbe)) +* refix formatting ([fcb7f0bb](https://github.com/gluon-lang/gluon/commit/fcb7f0bb56343f314b3d126b5ebfa95f572f9ee0)) +* fix formatting and apply naming suggesions ([6bb0d87c](https://github.com/gluon-lang/gluon/commit/6bb0d87cabf329f0a2585efd0e8daec4eca2c3ca)) +* Make the behaviour consistent for `Show Char` ([0ff89870](https://github.com/gluon-lang/gluon/commit/0ff89870fe064c3b8c524e862f07a5faaa85dd14)) +* Avoid infinite loops/extremely slow optimization ([dc7ec72a](https://github.com/gluon-lang/gluon/commit/dc7ec72ab053de68533f794621ea756fe66c35b0)) +* Expand macros inside macros ([5a294330](https://github.com/gluon-lang/gluon/commit/5a2943300b9010acf3913c535c983f10af4c9ec7)) +* Invalidate text properly so rexpect tests work ([92e45081](https://github.com/gluon-lang/gluon/commit/92e4508172607ae99e3de5d75a3874832682c470)) +* Don't depend on ansi_term in windows to make windows 7 work ([58e2a8b9](https://github.com/gluon-lang/gluon/commit/58e2a8b940f89abcdaaf0e0beafcc9f6bf04cabf), closes [#777](https://github.com/gluon-lang/gluon/issues/777)) +* Add tests and fix the regression with clone_userdata ([df078725](https://github.com/gluon-lang/gluon/commit/df078725965297c2920403d5ffc1c230273058d5)) +* Ensure that threads are dropped when using child threads ([b9efb513](https://github.com/gluon-lang/gluon/commit/b9efb513527c0ce51eef648f69b48e2252929365)) +* **check:** Handle aliases better in `do` ([770e52ea](https://github.com/gluon-lang/gluon/commit/770e52ea202d9fe1648b36f90cb9bab64d09b906), closes [#766](https://github.com/gluon-lang/gluon/issues/766)) +* **repl:** make the REPL respect --no-std ([e7974706](https://github.com/gluon-lang/gluon/commit/e79747067ca6538581ee4c3d2fe6631a087db53d)) +* **std:** export missing assertions in std.test ([41f4fc52](https://github.com/gluon-lang/gluon/commit/41f4fc524c00243b71a1fce01a134a2a08ce145f)) +* **vm:** + * Don't (rust) panic in string.split_at ([50f937b3](https://github.com/gluon-lang/gluon/commit/50f937b3598adc52f8ec5eec19f6701d38c2fd38), closes [#757](https://github.com/gluon-lang/gluon/issues/757)) + * Accept trailing comma in record macros ([f35c0b96](https://github.com/gluon-lang/gluon/commit/f35c0b96c255d209daf3b9e33362af4c5e1cdb38), closes [#770](https://github.com/gluon-lang/gluon/issues/770)) + +#### Features + +* Use implicit Monoids in std.foldable ([295b8c3d](https://github.com/gluon-lang/gluon/commit/295b8c3dfc3db3e4d5bd17e5b14ed4fdf4eb0362)) +* Add a mutable string type to the ST monad ([9ec946b4](https://github.com/gluon-lang/gluon/commit/9ec946b418842c6ac136406230d96e102d86b7fe)) +* Allow attributes to be specified on fields inside types ([fb35db51](https://github.com/gluon-lang/gluon/commit/fb35db5153161d1ee393ae29bc9adfc1db553458)) +* Provide std.effect.io as a mirror of std.io ([66e49b37](https://github.com/gluon-lang/gluon/commit/66e49b37196db18c36909900c46ccdc69254a7b0)) +* Replace Compiler with the ThreadExt trait ([c16132eb](https://github.com/gluon-lang/gluon/commit/c16132eb2c817926aba6a89b33f63b917bb71458), breaks [#](https://github.com/gluon-lang/gluon/issues/)) +* Use salsa for incremental compilation ([7bc82532](https://github.com/gluon-lang/gluon/commit/7bc82532f5aa7f9787d385ce97f0a769594b8064)) +* Add history hints and bracket highlight to the REPL ([10ef8cdf](https://github.com/gluon-lang/gluon/commit/10ef8cdf39baa5ad0cc7dd6817e59b8ea04f028f)) +* Use line/column numbers in lambda names ([201fdfb9](https://github.com/gluon-lang/gluon/commit/201fdfb9ed132adfca8055abae84a9ea8f00dcf8)) +* **codegen:** Map Rust's struct enums to records in Gluon. ([afb682e5](https://github.com/gluon-lang/gluon/commit/afb682e55d6115748a9861ff3086c934fe74afcf)) +* **repl:** add --no-std option to gluon.exe ([f2c1819f](https://github.com/gluon-lang/gluon/commit/f2c1819f9fc5ba3cb8d5d005b5ae61c1c74af658)) +* **std:** + * add ordering assertions ([3efac996](https://github.com/gluon-lang/gluon/commit/3efac9963deb031e78462d00e49d090ab911cbd4)) + * add a few functions to std.test & std.effect.error ([58e00431](https://github.com/gluon-lang/gluon/commit/58e00431a815ebdd7dae94a4d58a0c621d22aafd)) +* **vm:** Make macro errors implement PartialEq, Eq, Hash and Clone ([039825ab](https://github.com/gluon-lang/gluon/commit/039825abebc4fcd445c08574bd3cc0dd6f97a69f)) + + + ## v0.12.0 (2019-07-06) diff --git a/Cargo.lock b/Cargo.lock index fda45de05c..1378300729 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -869,7 +869,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "gluon" -version = "0.12.0" +version = "0.13.0" dependencies = [ "bincode 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "codespan 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -883,13 +883,13 @@ dependencies = [ "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon_base 0.12.0", - "gluon_check 0.12.0", - "gluon_codegen 0.12.0", - "gluon_completion 0.12.0", - "gluon_format 0.12.0", - "gluon_parser 0.12.0", - "gluon_vm 0.12.0", + "gluon_base 0.13.0", + "gluon_check 0.13.0", + "gluon_codegen 0.13.0", + "gluon_completion 0.13.0", + "gluon_format 0.13.0", + "gluon_parser 0.13.0", + "gluon_vm 0.13.0", "http 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.12.35 (registry+https://github.com/rust-lang/crates.io-index)", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -919,7 +919,7 @@ dependencies = [ [[package]] name = "gluon_base" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anymap 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -945,15 +945,15 @@ dependencies = [ [[package]] name = "gluon_c-api" -version = "0.12.0" +version = "0.13.0" dependencies = [ - "gluon 0.12.0", + "gluon 0.13.0", "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "gluon_check" -version = "0.12.0" +version = "0.13.0" dependencies = [ "codespan 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "codespan-reporting 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -961,10 +961,10 @@ dependencies = [ "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "ena 0.13.1 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon_base 0.12.0", - "gluon_codegen 0.12.0", - "gluon_format 0.12.0", - "gluon_parser 0.12.0", + "gluon_base 0.13.0", + "gluon_codegen 0.13.0", + "gluon_format 0.13.0", + "gluon_parser 0.13.0", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "pretty 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -977,11 +977,11 @@ dependencies = [ [[package]] name = "gluon_codegen" -version = "0.12.0" +version = "0.13.0" dependencies = [ "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon 0.12.0", - "gluon_vm 0.12.0", + "gluon 0.13.0", + "gluon_vm 0.13.0", "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -991,29 +991,29 @@ dependencies = [ [[package]] name = "gluon_completion" -version = "0.12.0" +version = "0.13.0" dependencies = [ "codespan 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "collect-mac 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon_base 0.12.0", - "gluon_check 0.12.0", - "gluon_parser 0.12.0", + "gluon_base 0.13.0", + "gluon_check 0.13.0", + "gluon_parser 0.13.0", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "gluon_doc" -version = "0.12.0" +version = "0.13.0" dependencies = [ "cargo-deadlinks 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon 0.12.0", - "gluon_completion 0.12.0", + "gluon 0.13.0", + "gluon_completion 0.13.0", "handlebars 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1032,13 +1032,13 @@ dependencies = [ [[package]] name = "gluon_format" -version = "0.12.0" +version = "0.13.0" dependencies = [ "codespan 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon 0.12.0", - "gluon_base 0.12.0", + "gluon 0.13.0", + "gluon_base 0.13.0", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "pretty 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1047,14 +1047,14 @@ dependencies = [ [[package]] name = "gluon_parser" -version = "0.12.0" +version = "0.13.0" dependencies = [ "codespan 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "codespan-reporting 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "collect-mac 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon_base 0.12.0", + "gluon_base 0.13.0", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "lalrpop 0.17.2 (registry+https://github.com/rust-lang/crates.io-index)", "lalrpop-util 0.17.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1067,7 +1067,7 @@ dependencies = [ [[package]] name = "gluon_repl" -version = "0.12.0" +version = "0.13.0" dependencies = [ "ansi_term 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", "app_dirs 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1077,12 +1077,12 @@ dependencies = [ "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon 0.12.0", - "gluon_codegen 0.12.0", - "gluon_completion 0.12.0", - "gluon_doc 0.12.0", - "gluon_format 0.12.0", - "gluon_vm 0.12.0", + "gluon 0.13.0", + "gluon_codegen 0.13.0", + "gluon_completion 0.13.0", + "gluon_doc 0.13.0", + "gluon_format 0.13.0", + "gluon_vm 0.13.0", "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "pretty_assertions 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1098,7 +1098,7 @@ dependencies = [ [[package]] name = "gluon_vm" -version = "0.12.0" +version = "0.13.0" dependencies = [ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "codespan 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1110,11 +1110,11 @@ dependencies = [ "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "frunk_core 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon 0.12.0", - "gluon_base 0.12.0", - "gluon_check 0.12.0", - "gluon_codegen 0.12.0", - "gluon_parser 0.12.0", + "gluon 0.13.0", + "gluon_base 0.13.0", + "gluon_check 0.13.0", + "gluon_codegen 0.13.0", + "gluon_parser 0.13.0", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "lalrpop 0.17.2 (registry+https://github.com/rust-lang/crates.io-index)", "lalrpop-util 0.17.2 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 24c1f85b66..5910a6d8be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon" -version = "0.12.0" # GLUON +version = "0.13.0" # GLUON authors = ["Markus "] build = "build.rs" edition = "2018" @@ -25,12 +25,12 @@ name = "gluon" path = "src/lib.rs" [dependencies] -gluon_base = { path = "base", version = "0.12.0" } # GLUON -gluon_check = { path = "check", version = "0.12.0" } # GLUON -gluon_parser = { path = "parser", version = "0.12.0" } # GLUON -gluon_codegen = { path = "codegen", version = "0.12.0" } # GLUON -gluon_vm = { path = "vm", version = "0.12.0", default-features = false } # GLUON -gluon_format = { path = "format", version = "0.12.0", default-features = false } # GLUON +gluon_base = { path = "base", version = "0.13.0" } # GLUON +gluon_check = { path = "check", version = "0.13.0" } # GLUON +gluon_parser = { path = "parser", version = "0.13.0" } # GLUON +gluon_codegen = { path = "codegen", version = "0.13.0" } # GLUON +gluon_vm = { path = "vm", version = "0.13.0", default-features = false } # GLUON +gluon_format = { path = "format", version = "0.13.0", default-features = false } # GLUON log = "0.4" quick-error = "1.0.0" @@ -63,7 +63,7 @@ rand = { version = "0.7", optional = true } rand_xorshift = { version = "0.2", optional = true } [build-dependencies] -gluon_base = { path = "base", version = "0.12.0" } # GLUON +gluon_base = { path = "base", version = "0.13.0" } # GLUON itertools = "0.8" little-skeptic = { version = "0.15.0", optional = true } @@ -91,8 +91,8 @@ bincode = "1" pulldown-cmark = "0.6" -gluon_completion = { path = "completion", version = "0.12.0" } # GLUON -gluon_codegen = { path = "codegen", version = "0.12.0" } # GLUON +gluon_completion = { path = "completion", version = "0.13.0" } # GLUON +gluon_codegen = { path = "codegen", version = "0.13.0" } # GLUON [features] default = ["regex", "random"] diff --git a/README.md b/README.md index c4d475eb34..d2210e8fc2 100644 --- a/README.md +++ b/README.md @@ -303,7 +303,7 @@ Gluon requires a recent Rust compiler to build (1.9.0 or later) and is available ```toml [dependencies] -gluon = "0.12.0" +gluon = "0.13.0" ``` ### Other languages diff --git a/base/Cargo.toml b/base/Cargo.toml index 86a5e99ee7..f37b3a49f7 100644 --- a/base/Cargo.toml +++ b/base/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_base" -version = "0.12.0" # GLUON +version = "0.13.0" # GLUON authors = ["Markus "] edition = "2018" diff --git a/base/src/lib.rs b/base/src/lib.rs index 2ddcbb4a08..ebff96394d 100644 --- a/base/src/lib.rs +++ b/base/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/gluon_base/0.12.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_base/0.13.0")] // # GLUON #![allow(unknown_lints)] //! The base crate contains pervasive types used in the compiler such as type representations, the //! AST and some basic containers. diff --git a/c-api/Cargo.toml b/c-api/Cargo.toml index 8e8fd35b99..8560ff5b57 100644 --- a/c-api/Cargo.toml +++ b/c-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_c-api" -version = "0.12.0" # GLUON +version = "0.13.0" # GLUON authors = ["Markus Westerlind "] edition = "2018" @@ -19,7 +19,7 @@ travis-ci = { repository = "gluon-lang/gluon" } crate-type = ["cdylib"] [dependencies] -gluon = { version = "0.12.0", path = ".." } # GLUON +gluon = { version = "0.13.0", path = ".." } # GLUON [target.'cfg(not(target_arch = "wasm32"))'.dependencies] libc = "0.2.14" diff --git a/c-api/src/lib.rs b/c-api/src/lib.rs index 465c791dbc..3329a39de9 100644 --- a/c-api/src/lib.rs +++ b/c-api/src/lib.rs @@ -1,5 +1,5 @@ //! A (WIP) C API allowing use of gluon in other langauges than Rust. -#![doc(html_root_url = "https://docs.rs/gluon_c-api/0.12.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_c-api/0.13.0")] // # GLUON use std::{slice, str}; diff --git a/check/Cargo.toml b/check/Cargo.toml index 06b3ab084d..203d72971b 100644 --- a/check/Cargo.toml +++ b/check/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_check" -version = "0.12.0" # GLUON +version = "0.13.0" # GLUON authors = ["Markus "] edition = "2018" @@ -30,13 +30,13 @@ codespan-reporting = "0.3" strsim = "0.9.0" -gluon_base = { path = "../base", version = "0.12.0" } # GLUON -gluon_codegen = { path = "../codegen", version = "0.12.0" } # GLUON +gluon_base = { path = "../base", version = "0.13.0" } # GLUON +gluon_codegen = { path = "../codegen", version = "0.13.0" } # GLUON [dev-dependencies] env_logger = "0.7" -gluon_parser = { path = "../parser", version = "0.12.0" } # GLUON +gluon_parser = { path = "../parser", version = "0.13.0" } # GLUON gluon_format = { path = "../format", version = ">=0.9" } collect-mac = "0.1.0" diff --git a/check/src/lib.rs b/check/src/lib.rs index c9a4e39442..189e2961d6 100644 --- a/check/src/lib.rs +++ b/check/src/lib.rs @@ -3,7 +3,7 @@ //! If an AST passes the checks in `Typecheck::typecheck_expr` (which runs all of theses checks //! the expression is expected to compile succesfully (if it does not it should be considered an //! internal compiler error. -#![doc(html_root_url = "https://docs.rs/gluon_check/0.12.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_check/0.13.0")] // # GLUON #[macro_use] extern crate collect_mac; diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index 98016b0bd9..9647e98a4c 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_codegen" -version = "0.12.0" # GLUON +version = "0.13.0" # GLUON authors = ["Markus "] license = "MIT" diff --git a/completion/Cargo.toml b/completion/Cargo.toml index a8bc92ddc5..75ba22ff2f 100644 --- a/completion/Cargo.toml +++ b/completion/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_completion" -version = "0.12.0" # GLUON +version = "0.13.0" # GLUON authors = ["Markus "] edition = "2018" @@ -17,11 +17,11 @@ itertools = "0.8" walkdir = "2" codespan = "0.3" -gluon_base = { path = "../base", version = "0.12.0" } # GLUON +gluon_base = { path = "../base", version = "0.13.0" } # GLUON [dev-dependencies] collect-mac = "0.1.0" env_logger = "0.7" -gluon_check = { path = "../check", version = "0.12.0" } # GLUON -gluon_parser = { path = "../parser", version = "0.12.0" } # GLUON +gluon_check = { path = "../check", version = "0.13.0" } # GLUON +gluon_parser = { path = "../parser", version = "0.13.0" } # GLUON diff --git a/completion/src/lib.rs b/completion/src/lib.rs index 6ac8b2e423..b265034176 100644 --- a/completion/src/lib.rs +++ b/completion/src/lib.rs @@ -1,5 +1,5 @@ //! Primitive auto completion and type quering on ASTs -#![doc(html_root_url = "https://docs.rs/gluon_completion/0.12.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_completion/0.13.0")] // # GLUON extern crate codespan; extern crate either; diff --git a/doc/Cargo.toml b/doc/Cargo.toml index 30109f4a59..47e205a04c 100644 --- a/doc/Cargo.toml +++ b/doc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_doc" -version = "0.12.0" # GLUON +version = "0.13.0" # GLUON authors = ["Markus Westerlind "] edition = "2018" @@ -31,8 +31,8 @@ serde = "1.0.0" serde_derive = "1.0.0" serde_json = "1.0.0" -gluon = { version = "0.12.0", path = ".." } # GLUON -completion = { package = "gluon_completion", version = "0.12.0", path = "../completion" } # GLUON +gluon = { version = "0.13.0", path = ".." } # GLUON +completion = { package = "gluon_completion", version = "0.13.0", path = "../completion" } # GLUON [dev-dependencies] diff --git a/format/Cargo.toml b/format/Cargo.toml index 5b1cbf3421..da07d4687b 100644 --- a/format/Cargo.toml +++ b/format/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_format" -version = "0.12.0" # GLUON +version = "0.13.0" # GLUON authors = ["Markus "] edition = "2018" @@ -17,13 +17,13 @@ pretty = "0.5" itertools = "0.8" codespan = "0.3" -gluon_base = { path = "../base", version = "0.12.0" } # GLUON +gluon_base = { path = "../base", version = "0.13.0" } # GLUON [dev-dependencies] env_logger = "0.7" difference = "2" pretty_assertions = "0.6" -gluon_base = { path = "../base", version = "0.12.0" } # GLUON +gluon_base = { path = "../base", version = "0.13.0" } # GLUON gluon = { path = "..", version = ">=0.9" } [features] diff --git a/format/src/lib.rs b/format/src/lib.rs index 5704a3cc5f..fb5eea7022 100644 --- a/format/src/lib.rs +++ b/format/src/lib.rs @@ -1,5 +1,5 @@ //! Code formatter. -#![doc(html_root_url = "https://docs.rs/gluon_formatter/0.12.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_formatter/0.13.0")] // # GLUON extern crate codespan; #[macro_use] diff --git a/parser/Cargo.toml b/parser/Cargo.toml index 7acdf8fc16..a27f2894a3 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_parser" -version = "0.12.0" # GLUON +version = "0.13.0" # GLUON authors = ["Markus "] edition = "2018" @@ -24,7 +24,7 @@ quick-error = "1.0.0" lalrpop-util = "0.17" log = "0.4" pretty = "0.5" -gluon_base = { path = "../base", version = "0.12.0" } # GLUON +gluon_base = { path = "../base", version = "0.13.0" } # GLUON ordered-float = "1" codespan = "0.3" codespan-reporting = "0.3" diff --git a/parser/src/lib.rs b/parser/src/lib.rs index 65b764343e..34c0237072 100644 --- a/parser/src/lib.rs +++ b/parser/src/lib.rs @@ -1,7 +1,7 @@ //! The parser is a bit more complex than it needs to be as it needs to be fully specialized to //! avoid a recompilation every time a later part of the compiler is changed. Due to this the //! string interner and therefore also garbage collector needs to compiled before the parser. -#![doc(html_root_url = "https://docs.rs/gluon_parser/0.12.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_parser/0.13.0")] // # GLUON extern crate codespan; extern crate codespan_reporting; diff --git a/repl/Cargo.toml b/repl/Cargo.toml index 2915289867..dbc010e589 100644 --- a/repl/Cargo.toml +++ b/repl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_repl" -version = "0.12.0" # GLUON +version = "0.13.0" # GLUON authors = ["Markus Westerlind "] edition = "2018" @@ -20,12 +20,12 @@ path = "src/main.rs" doc = false [dependencies] -gluon = { version = "0.12.0", path = "..", features = ["serialization"] } # GLUON -gluon_vm = { version = "0.12.0", path = "../vm", features = ["serialization"] } # GLUON -gluon_completion = { path = "../completion", version = "0.12.0" } # GLUON -gluon_codegen = { path = "../codegen", version = "0.12.0" } # GLUON -gluon_format = { version = "0.12.0", path = "../format" } # GLUON -gluon_doc = { version = "0.12.0", path = "../doc" } # GLUON +gluon = { version = "0.13.0", path = "..", features = ["serialization"] } # GLUON +gluon_vm = { version = "0.13.0", path = "../vm", features = ["serialization"] } # GLUON +gluon_completion = { path = "../completion", version = "0.13.0" } # GLUON +gluon_codegen = { path = "../codegen", version = "0.13.0" } # GLUON +gluon_format = { version = "0.13.0", path = "../format" } # GLUON +gluon_doc = { version = "0.13.0", path = "../doc" } # GLUON app_dirs = "1.0.0" futures = "0.1.11" diff --git a/src/lib.rs b/src/lib.rs index ff43fe0e6d..301bd9942d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ //! behaviour. For information about how to use this library the best resource currently is the //! [tutorial](http://gluon-lang.org/book/index.html) which contains examples //! on how to write gluon programs as well as how to run them using this library. -#![doc(html_root_url = "https://docs.rs/gluon/0.12.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon/0.13.0")] // # GLUON #![recursion_limit = "128"] #[cfg(test)] extern crate env_logger; diff --git a/vm/Cargo.toml b/vm/Cargo.toml index 56785c372e..6d4648212e 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_vm" -version = "0.12.0" # GLUON +version = "0.13.0" # GLUON authors = ["Markus "] edition = "2018" build = "build.rs" @@ -44,10 +44,10 @@ serde_state = { version = "0.4.0", optional = true } serde_derive = { version = "1.0.0", optional = true } serde_derive_state = { version = "0.4.8", optional = true } -gluon_base = { path = "../base", version = "0.12.0" } # GLUON -gluon_check = { path = "../check", version = "0.12.0" } # GLUON -gluon_codegen = { path = "../codegen", version = "0.12.0" } # GLUON -gluon_parser = { path = "../parser", version = "0.12.0", optional = true } # GLUON +gluon_base = { path = "../base", version = "0.13.0" } # GLUON +gluon_check = { path = "../check", version = "0.13.0" } # GLUON +gluon_codegen = { path = "../codegen", version = "0.13.0" } # GLUON +gluon_parser = { path = "../parser", version = "0.13.0", optional = true } # GLUON [build-dependencies] lalrpop = { version = "0.17", optional = true } @@ -65,7 +65,7 @@ lalrpop-util = "0.17" regex = "1" serde_json = "1.0.0" -gluon_parser = { path = "../parser", version = "0.12.0" } # GLUON +gluon_parser = { path = "../parser", version = "0.13.0" } # GLUON [features] serialization = ["serde", "serde_state", "serde_derive", "serde_derive_state", "serde_json", "gluon_base/serialization", "codespan/serialization"] diff --git a/vm/src/lib.rs b/vm/src/lib.rs index 53bd90dbbf..7094934897 100644 --- a/vm/src/lib.rs +++ b/vm/src/lib.rs @@ -1,5 +1,5 @@ //! Crate which contain the virtual machine which executes gluon programs -#![doc(html_root_url = "https://docs.rs/gluon_vm/0.12.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_vm/0.13.0")] // # GLUON #![recursion_limit = "1024"] #[macro_use]