diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e9244dc85..600176a2db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,64 @@ + +## v0.12.0 (2019-07-06) + + +#### Bug Fixes + +* Remove Userdata and Trace impls for RwLock and Mutex ([e90f02b5](https://github.com/gluon-lang/gluon/commit/e90f02b56afd40e00b6e9fba58dd5421cd91a6d2)) +* Add missing negate function from the prelude ([0091f475](https://github.com/gluon-lang/gluon/commit/0091f475355b2bc1562dc6e257826ff71e7faf7c)) +* Refer to registered types by their full name ([a2daace6](https://github.com/gluon-lang/gluon/commit/a2daace6e914157391b8453c97ddd675b86a7165), breaks [#](https://github.com/gluon-lang/gluon/issues/)) +* Handle newtypes with a public field ([d1fef968](https://github.com/gluon-lang/gluon/commit/d1fef9688a3c8d379df0837ee18a4ff8f79c91ae), closes [#713](https://github.com/gluon-lang/gluon/issues/713)) +* Don't ICE on unapplied, aliased constructors ([2a44a0db](https://github.com/gluon-lang/gluon/commit/2a44a0db2180ec4f25550a9672b0f24a1e45ab90)) +* **check:** + * Propagate metadata through parens ([bd767c07](https://github.com/gluon-lang/gluon/commit/bd767c07cb0506943a26c22e8d1c46e97f6f4ed3)) + * Bring nested implicit instances into scope ([ad82bde6](https://github.com/gluon-lang/gluon/commit/ad82bde69b886f44dafcb094d9b4ef7eb87daa17)) + * Don't lose type information in catch-all ([d2a3fbf0](https://github.com/gluon-lang/gluon/commit/d2a3fbf0e86ab605d5944f6ed3d61cad037469dd), closes [#702](https://github.com/gluon-lang/gluon/issues/702), [#703](https://github.com/gluon-lang/gluon/issues/703), [#704](https://github.com/gluon-lang/gluon/issues/704), [#705](https://github.com/gluon-lang/gluon/issues/705)) +* **codegen:** Return exactly the same type on VmType derive on enum ([375d3e9a](https://github.com/gluon-lang/gluon/commit/375d3e9a84e9f61464652eab268bac7185011be4)) +* **compiler:** Don't panic when matching a tuple against an alias ([777bd310](https://github.com/gluon-lang/gluon/commit/777bd310c69793a1453bc335af9e5ee4cd500dac), closes [#749](https://github.com/gluon-lang/gluon/issues/749)) +* **std:** + * cleaned up statet.glu exports ([5d8864f9](https://github.com/gluon-lang/gluon/commit/5d8864f99fc25c606816bab7584f55a71e755648)) + * export wrap_monad from transformer.glu ([0e9d7bc4](https://github.com/gluon-lang/gluon/commit/0e9d7bc43845338e966eca5115378ddc46e0803e)) +* **vm:** + * Check if a collection is needed when creating a child thread ([86e4b9f7](https://github.com/gluon-lang/gluon/commit/86e4b9f7b4485cd57e144ec5bd3b2961a5d92183)) + * Automatically remove the elements added to pushed data ([8cd5152b](https://github.com/gluon-lang/gluon/commit/8cd5152b5e0fef90eb663c96c99e3cbb2cdbc03a), closes [#719](https://github.com/gluon-lang/gluon/issues/719)) + +#### Performance + +* Use NonNull for garbage collected pointers ([9c66eded](https://github.com/gluon-lang/gluon/commit/9c66eded918d495057d31ced0096cb07835bda7d)) +* Don't recurse into already visited records to find implicits ([b50061f5](https://github.com/gluon-lang/gluon/commit/b50061f509d53105b3ca886c9cdbf6e54f2677eb)) +* Avoid recursing into non-implicit types ([c35b29e6](https://github.com/gluon-lang/gluon/commit/c35b29e65ec4791fec7ac24d2d500adc4651c1aa)) +* Use SmallVec in Partition ([d8c549bf](https://github.com/gluon-lang/gluon/commit/d8c549bff709bbf398b1a456878f0cb60a16a14e)) +* Use a scoped collections over a persistent in implicit resolution ([d13097e2](https://github.com/gluon-lang/gluon/commit/d13097e2ad91f6774299cdc09be6876eb438ecbf)) +* Memoize implicit attribute lookups (-3%) ([254af75e](https://github.com/gluon-lang/gluon/commit/254af75e544056262613a84b9cdc7907af1838e4)) +* Speedup Symbol::module ([9566a377](https://github.com/gluon-lang/gluon/commit/9566a37740dd70730bf9db510e11693e780fe5ae)) +* Avoid creating function types unnecessarily ([170f4673](https://github.com/gluon-lang/gluon/commit/170f4673a225f1e50d6e4ea84d020c563e3f1fc8)) +* **compiler:** + * Shrink the core::Expr type to 40 bytes (from 72) ([779d1b65](https://github.com/gluon-lang/gluon/commit/779d1b65fbe61e27df49ccc3a0dc22cf98bacb56)) + * Copy elements directly into arena ([cd2dd366](https://github.com/gluon-lang/gluon/commit/cd2dd366a4dc6a12d4a2b57144ef271355d2f765)) + +#### Features + +* Add gc::Mutex ([d6e12460](https://github.com/gluon-lang/gluon/commit/d6e124605c115b709ecbda34c104d20e71d281bb)) +* Automatically unroot values stored in `Gc` allocated values ([6ebc398f](https://github.com/gluon-lang/gluon/commit/6ebc398ff5e0343076b64b319c07eeb0c5ad8294), closes [#746](https://github.com/gluon-lang/gluon/issues/746)) +* Add derive for Traverseable ([844418df](https://github.com/gluon-lang/gluon/commit/844418dfc1d0cb37a4ddfdb82e79380887e9da7b)) +* Allow mutable references to be passed to gluon ([602220b5](https://github.com/gluon-lang/gluon/commit/602220b5f0af4a7b889cb7657ea491aaee85a50c)) +* Add std.env ([b561c8d6](https://github.com/gluon-lang/gluon/commit/b561c8d61dda20ca71fb03cc36ca317cc139c458)) +* Implement woobly type propagation ([a0b84525](https://github.com/gluon-lang/gluon/commit/a0b84525d8cbf7b1ba34542a9a173c0843c1bbc3)) +* **codegen:** Add the newtype attribute ([40854638](https://github.com/gluon-lang/gluon/commit/40854638263d96adcde77f9631ae0daab7bccf26)) +* **completion:** + * Match on the symbols in type declarations ([9d28ba10](https://github.com/gluon-lang/gluon/commit/9d28ba102029e3c593f4fda9bc1acd167c445cb9)) + * Return scoped symbols in the all_symbols query ([94a385af](https://github.com/gluon-lang/gluon/commit/94a385afd3b23bf6b54208858fd8c3736c758696)) + * Match on the symbols in type declarations ([8fe083af](https://github.com/gluon-lang/gluon/commit/8fe083afe0a85e8a9db45b32dacd630cd87b8559)) + * Return scoped symbols in the all_symbols query ([1ad302b0](https://github.com/gluon-lang/gluon/commit/1ad302b08a501ccb589ed97f427321d753d5ca59)) +* **doc:** Link to the github source ([da75875b](https://github.com/gluon-lang/gluon/commit/da75875bc0ee032c2b38a94982a7e08001d6a090)) +* **vm:** Allow references to be passed through ([3a92b176](https://github.com/gluon-lang/gluon/commit/3a92b1768a73ee3bf94fab22c9d10d33bd0fe50e)) + +#### Breaking Changes + +* Refer to registered types by their full name ([a2daace6](https://github.com/gluon-lang/gluon/commit/a2daace6e914157391b8453c97ddd675b86a7165), breaks [#](https://github.com/gluon-lang/gluon/issues/)) + + + ### v0.11.2 (2019-03-26) diff --git a/Cargo.lock b/Cargo.lock index 54996f3a12..d8d345efdb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -815,7 +815,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "gluon" -version = "0.11.2" +version = "0.12.0" dependencies = [ "bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "codespan 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -829,13 +829,13 @@ dependencies = [ "failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.27 (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.11.2", - "gluon_check 0.11.2", - "gluon_codegen 0.11.2", - "gluon_completion 0.11.2", - "gluon_format 0.11.2", - "gluon_parser 0.11.2", - "gluon_vm 0.11.2", + "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", "http 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.12.29 (registry+https://github.com/rust-lang/crates.io-index)", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -864,7 +864,7 @@ dependencies = [ [[package]] name = "gluon_base" -version = "0.11.2" +version = "0.12.0" dependencies = [ "anymap 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -890,25 +890,25 @@ dependencies = [ [[package]] name = "gluon_c-api" -version = "0.11.2" +version = "0.12.0" dependencies = [ - "gluon 0.11.2", + "gluon 0.12.0", "libc 0.2.55 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "gluon_check" -version = "0.11.2" +version = "0.12.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.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon_base 0.11.2", - "gluon_codegen 0.11.2", - "gluon_format 0.11.2", - "gluon_parser 0.11.2", + "gluon_base 0.12.0", + "gluon_codegen 0.12.0", + "gluon_format 0.12.0", + "gluon_parser 0.12.0", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "pretty 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -923,11 +923,11 @@ dependencies = [ [[package]] name = "gluon_codegen" -version = "0.11.2" +version = "0.12.0" dependencies = [ "env_logger 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon 0.11.2", - "gluon_vm 0.11.2", + "gluon 0.12.0", + "gluon_vm 0.12.0", "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)", @@ -937,29 +937,29 @@ dependencies = [ [[package]] name = "gluon_completion" -version = "0.11.2" +version = "0.12.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.2 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon_base 0.11.2", - "gluon_check 0.11.2", - "gluon_parser 0.11.2", + "gluon_base 0.12.0", + "gluon_check 0.12.0", + "gluon_parser 0.12.0", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "gluon_doc" -version = "0.11.2" +version = "0.12.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.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon 0.11.2", - "gluon_completion 0.11.2", + "gluon 0.12.0", + "gluon_completion 0.12.0", "handlebars 1.1.0 (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.3.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -978,13 +978,13 @@ dependencies = [ [[package]] name = "gluon_format" -version = "0.11.2" +version = "0.12.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.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon 0.11.2", - "gluon_base 0.11.2", + "gluon 0.12.0", + "gluon_base 0.12.0", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "pretty 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -993,14 +993,14 @@ dependencies = [ [[package]] name = "gluon_parser" -version = "0.11.2" +version = "0.12.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.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon_base 0.11.2", + "gluon_base 0.12.0", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "lalrpop 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", "lalrpop-util 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1013,7 +1013,7 @@ dependencies = [ [[package]] name = "gluon_repl" -version = "0.11.2" +version = "0.12.0" dependencies = [ "app_dirs 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1022,12 +1022,12 @@ dependencies = [ "env_logger 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.27 (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.11.2", - "gluon_codegen 0.11.2", - "gluon_completion 0.11.2", - "gluon_doc 0.11.2", - "gluon_format 0.11.2", - "gluon_vm 0.11.2", + "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", "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "pretty_assertions 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1044,7 +1044,7 @@ dependencies = [ [[package]] name = "gluon_vm" -version = "0.11.2" +version = "0.12.0" dependencies = [ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "codespan 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1053,11 +1053,11 @@ dependencies = [ "env_logger 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "frunk_core 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)", - "gluon 0.11.2", - "gluon_base 0.11.2", - "gluon_check 0.11.2", - "gluon_codegen 0.11.2", - "gluon_parser 0.11.2", + "gluon 0.12.0", + "gluon_base 0.12.0", + "gluon_check 0.12.0", + "gluon_codegen 0.12.0", + "gluon_parser 0.12.0", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "lalrpop 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", "lalrpop-util 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 68799dd066..e2a2843834 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon" -version = "0.11.2" # GLUON +version = "0.12.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.11.2" } # GLUON -gluon_check = { path = "check", version = "0.11.2" } # GLUON -gluon_parser = { path = "parser", version = "0.11.2" } # GLUON -gluon_codegen = { path = "codegen", version = "0.11.2" } # GLUON -gluon_vm = { path = "vm", version = "0.11.2", default-features = false } # GLUON -gluon_format = { path = "format", version = "0.11.2", default-features = false } # GLUON +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 log = "0.4" quick-error = "1.0.0" @@ -62,7 +62,7 @@ rand = { version = "0.6", optional = true } rand_xorshift = { version = "0.1", optional = true } [build-dependencies] -gluon_base = { path = "base", version = "0.11.2" } # GLUON +gluon_base = { path = "base", version = "0.12.0" } # GLUON itertools = "0.8" little-skeptic = { version = "0.15.0", optional = true } @@ -90,8 +90,8 @@ bincode = "1" pulldown-cmark = "0.2" -gluon_completion = { path = "completion", version = "0.11.2" } # GLUON -gluon_codegen = { path = "codegen", version = "0.11.2" } # GLUON +gluon_completion = { path = "completion", version = "0.12.0" } # GLUON +gluon_codegen = { path = "codegen", version = "0.12.0" } # GLUON [features] default = ["regex", "random"] diff --git a/README.md b/README.md index a6e16404c8..2e84340854 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.11.2" +gluon = "0.12.0" ``` ### Other languages diff --git a/base/Cargo.toml b/base/Cargo.toml index 00ac80ecb3..1197a1b7c3 100644 --- a/base/Cargo.toml +++ b/base/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_base" -version = "0.11.2" # GLUON +version = "0.12.0" # GLUON authors = ["Markus "] edition = "2018" diff --git a/base/src/lib.rs b/base/src/lib.rs index bfb7607118..48d940495d 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.11.2")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_base/0.12.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 4afbe3be4e..8e8fd35b99 100644 --- a/c-api/Cargo.toml +++ b/c-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_c-api" -version = "0.11.2" # GLUON +version = "0.12.0" # GLUON authors = ["Markus Westerlind "] edition = "2018" @@ -19,7 +19,7 @@ travis-ci = { repository = "gluon-lang/gluon" } crate-type = ["cdylib"] [dependencies] -gluon = { version = "0.11.2", path = ".." } # GLUON +gluon = { version = "0.12.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 6d70138e57..ebb7f21fe7 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.11.2")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_c-api/0.12.0")] // # GLUON use std::{slice, str}; diff --git a/check/Cargo.toml b/check/Cargo.toml index 07b63f4da6..1ea172f258 100644 --- a/check/Cargo.toml +++ b/check/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_check" -version = "0.11.2" # GLUON +version = "0.12.0" # GLUON authors = ["Markus "] edition = "2018" @@ -31,13 +31,13 @@ codespan-reporting = "0.3" strsim = "0.8.0" -gluon_base = { path = "../base", version = "0.11.2" } # GLUON -gluon_codegen = { path = "../codegen", version = "0.11.2" } # GLUON +gluon_base = { path = "../base", version = "0.12.0" } # GLUON +gluon_codegen = { path = "../codegen", version = "0.12.0" } # GLUON [dev-dependencies] env_logger = "0.6" -gluon_parser = { path = "../parser", version = "0.11.2" } # GLUON +gluon_parser = { path = "../parser", version = "0.12.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 81113ebb15..927b98b491 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.11.2")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_check/0.12.0")] // # GLUON #[macro_use] extern crate collect_mac; diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index cd67e5dc20..01e1d6458b 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_codegen" -version = "0.11.2" # GLUON +version = "0.12.0" # GLUON authors = ["Markus "] license = "MIT" diff --git a/completion/Cargo.toml b/completion/Cargo.toml index 000249575f..292130c82d 100644 --- a/completion/Cargo.toml +++ b/completion/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_completion" -version = "0.11.2" # GLUON +version = "0.12.0" # GLUON authors = ["Markus "] edition = "2018" @@ -17,11 +17,11 @@ itertools = "0.8" walkdir = "2" codespan = "0.3" -gluon_base = { path = "../base", version = "0.11.2" } # GLUON +gluon_base = { path = "../base", version = "0.12.0" } # GLUON [dev-dependencies] collect-mac = "0.1.0" env_logger = "0.6" -gluon_check = { path = "../check", version = "0.11.2" } # GLUON -gluon_parser = { path = "../parser", version = "0.11.2" } # GLUON +gluon_check = { path = "../check", version = "0.12.0" } # GLUON +gluon_parser = { path = "../parser", version = "0.12.0" } # GLUON diff --git a/completion/src/lib.rs b/completion/src/lib.rs index 35b7c97a77..cefa2b1fc7 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.11.2")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_completion/0.12.0")] // # GLUON extern crate codespan; extern crate either; diff --git a/doc/Cargo.toml b/doc/Cargo.toml index 4280521e8c..bea442d166 100644 --- a/doc/Cargo.toml +++ b/doc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_doc" -version = "0.11.2" # GLUON +version = "0.12.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.11.2", path = ".." } # GLUON -completion = { package = "gluon_completion", version = "0.11.2", path = "../completion" } # GLUON +gluon = { version = "0.12.0", path = ".." } # GLUON +completion = { package = "gluon_completion", version = "0.12.0", path = "../completion" } # GLUON [dev-dependencies] diff --git a/format/Cargo.toml b/format/Cargo.toml index f7540573db..b8f85fc1f1 100644 --- a/format/Cargo.toml +++ b/format/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_format" -version = "0.11.2" # GLUON +version = "0.12.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.11.2" } # GLUON +gluon_base = { path = "../base", version = "0.12.0" } # GLUON [dev-dependencies] env_logger = "0.6" difference = "2" pretty_assertions = "0.5" -gluon_base = { path = "../base", version = "0.11.2" } # GLUON +gluon_base = { path = "../base", version = "0.12.0" } # GLUON gluon = { path = "..", version = ">=0.9" } [features] diff --git a/format/src/lib.rs b/format/src/lib.rs index 6869dc1e3b..585dadc5c4 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.11.2")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_formatter/0.12.0")] // # GLUON extern crate codespan; #[macro_use] diff --git a/parser/Cargo.toml b/parser/Cargo.toml index 8e254a41fe..d7698923b0 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_parser" -version = "0.11.2" # GLUON +version = "0.12.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.11.2" } # GLUON +gluon_base = { path = "../base", version = "0.12.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 01f349992e..f008d194a0 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.11.2")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_parser/0.12.0")] // # GLUON extern crate codespan; extern crate codespan_reporting; diff --git a/repl/Cargo.toml b/repl/Cargo.toml index db419e2c8b..4c2f023d5b 100644 --- a/repl/Cargo.toml +++ b/repl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_repl" -version = "0.11.2" # GLUON +version = "0.12.0" # GLUON authors = ["Markus Westerlind "] edition = "2018" @@ -21,12 +21,12 @@ doc = false [dependencies] -gluon = { version = "0.11.2", path = "..", features = ["serialization"] } # GLUON -gluon_vm = { version = "0.11.2", path = "../vm", features = ["serialization"] } # GLUON -gluon_completion = { path = "../completion", version = "0.11.2" } # GLUON -gluon_codegen = { path = "../codegen", version = "0.11.2" } # GLUON -gluon_format = { version = "0.11.2", path = "../format" } # GLUON -gluon_doc = { version = "0.11.2", path = "../doc" } # GLUON +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 app_dirs = "1.0.0" futures = "0.1.11" diff --git a/src/lib.rs b/src/lib.rs index 36a7287fba..616134b445 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.11.2")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon/0.12.0")] // # GLUON #[cfg(test)] extern crate env_logger; diff --git a/vm/Cargo.toml b/vm/Cargo.toml index 86e75ba67f..0e652291f2 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_vm" -version = "0.11.2" # GLUON +version = "0.12.0" # GLUON authors = ["Markus "] edition = "2018" build = "build.rs" @@ -38,9 +38,9 @@ serde_state = { version = "0.4.0", optional = true } serde_derive = { version = "1.0.0", optional = true } serde_derive_state = { version = "0.4.6", optional = true } -gluon_base = { path = "../base", version = "0.11.2" } # GLUON -gluon_check = { path = "../check", version = "0.11.2" } # GLUON -gluon_codegen = { path = "../codegen", version = "0.11.2" } # GLUON +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 [build-dependencies] lalrpop = { version = "0.17", optional = true } @@ -57,7 +57,7 @@ lalrpop-util = "0.17" regex = "1" serde_json = "1.0.0" -gluon_parser = { path = "../parser", version = "0.11.2" } # GLUON +gluon_parser = { path = "../parser", version = "0.12.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 19cbf77ef5..04ffb7bccd 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.11.2")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_vm/0.12.0")] // # GLUON #![recursion_limit = "1024"] #[macro_use]