Bert Belder
177727d730
third_party: downgrade 'url' crate to version 1.7.2
2019-08-29 10:45:09 -07:00
Bert Belder
89794d5d34
build: make it possible to pass arbitrary env vars to rustc
2019-08-29 10:45:00 -07:00
Ryan Dahl
f94900406d
Remove flatbuffers ( #2818 )
2019-08-26 17:02:34 -04:00
Bert Belder
47c216317f
build: enable 'derive' feature of 'serde' crate
2019-08-22 17:27:51 -07:00
Bert Belder
7f9c6decc8
third_party: upgrade rust crates
2019-08-22 14:22:25 -07:00
Bert Belder
7a902fed04
build: add 'cap_lints' flag for rust crates
...
Using a specialized flag rather than the generic 'args' option makes
build_extra/rust/BUILD.gn shorter and more readable.
2019-08-22 14:13:01 -07:00
Bert Belder
e0c1ed96e2
build: remove per-crate 'treat_warnings_as_errors' gn flag
2019-08-22 14:13:01 -07:00
Bert Belder
31aa7c1a5d
build: support rust crates that generate sources in their build script
2019-08-22 14:12:49 -07:00
Bert Belder
c6861b537e
third_party: upgrade rust crates
2019-08-02 18:59:54 +02:00
Bert Belder
5bca001f97
build: support crate imports using an alias name
...
A crate can assign an alternative name, different from the crate name,
when importing another crate. On the command line this looks like:
rustc ... --extern foo_crate=path/to/bar_crate.rlib
We need to support this so we can eventually upgrade to rand-0.7.x.
2019-08-02 17:56:47 +02:00
Bert Belder
79c3439f26
Pass env vars through in build_extra/rust/run.py
...
This fixes an appveyor issue that arrises when implementing
snapshot_creator in Rust.
2019-07-08 18:18:28 -04:00
Ryan Dahl
3a4d88475b
Port code from Cargo and use for progress
...
A lot of its functionality is unused still, but the goal it to slowly
migrate logging functionality to it. There is also a useful progress bar
which can be ported over later - it depends on this module.
4c1fa54d10/src/cargo/util/progress.rs
2019-06-25 06:32:28 -07:00
Bert Belder
89216c7baa
third_party: add rust crate 'termcolor'
2019-06-25 06:32:28 -07:00
Bert Belder
77737707e4
third_party: upgrade rust crates
2019-06-15 15:20:02 +02:00
Bartek Iwańczuk
a115340288
feat: Import maps ( #2360 )
2019-06-09 09:08:20 -04:00
Bert Belder
1540b36ce7
third_party: upgrade rust crates
2019-05-30 11:28:05 -07:00
Bert Belder
3ff240b963
third_party: add rust crate 'serde_derive'
2019-05-16 20:51:47 -07:00
Bert Belder
e9c9d71633
third_party: upgrade rust crates
2019-05-16 20:43:23 -07:00
Bert Belder
3d6f0a85af
build: add support for rust proc-macro crates
2019-05-16 20:33:25 -07:00
Bert Belder
6ab2c350b7
build: forward rustc '--cfg' flags correctly
2019-05-16 19:55:45 -07:00
Bert Belder
c0341cb1af
third_party: upgrade rust crates
2019-05-11 05:03:03 +02:00
Kevin (Kun) "Kassimo" Qian
7237e9d34a
fs: add Deno.utime/Deno.utimeSync ( #2241 )
2019-05-01 05:08:11 -04:00
Bert Belder
6caf865507
third_party: upgrade rust crates
2019-04-23 18:01:57 +02:00
Bert Belder
90c2b10f47
Add cli dependency on tokio-rustls
2019-04-17 14:02:20 +02:00
Bert Belder
97f0fe7437
third_party: upgrade rust crates
2019-04-15 18:56:29 +02:00
Ryan Dahl
4232c89c9e
Use -O3 instead of -O ( #2070 )
...
As recommended in
https://www.reddit.com/r/rust/comments/balb45/why_is_hypers_max_latency_so_high_in_deno/ekck1ww/
2019-04-07 22:28:28 -04:00
Bert Belder
ff1c80d6d8
third_party: add rust crate 'clap'
2019-03-31 17:55:03 -04:00
Bert Belder
3d6c033369
third_party: upgrade rust crates
2019-03-29 14:50:07 -04:00
Bert Belder
d4e3bf945d
third_party: upgrade rust crates
2019-02-27 10:24:22 -08:00
Bert Belder
9240f9b57f
third_party: upgrade rust crates
2019-02-12 09:30:36 -08:00
Bert Belder
f22e0d72c5
third_party: add the 'regex' crate
2019-02-07 14:46:52 -08:00
Dmitry Sharshakov
5c50d2819b
Add emojis to permission prompts ( #1684 )
2019-02-07 16:19:50 -05:00
Bert Belder
c03ff8556b
third_party: add the 'integer-atomics' crate
2019-01-26 16:32:03 +01:00
Bert Belder
d3e5a13201
third_party: force all crates to use the latest version of rand_core
2019-01-26 16:32:03 +01:00
Bert Belder
6ad2e001b4
third_party: upgrade rust crates
2019-01-26 16:32:02 +01:00
Yoshiya Hinosawa
77114fbda4
chore: update license lines ( #1557 )
2019-01-21 13:03:30 -06:00
Andy Hayden
526fdac053
Update to rust 2018 edition
2019-01-14 22:30:04 +01:00
Bert Belder
8039e2a55a
third_party: upgrade rust crates, now with --edition 2018
support
2019-01-14 05:03:14 +01:00
Bert Belder
9e9550ceea
third_party: upgrade rust crates
2019-01-14 02:18:19 +01:00
Bert Belder
0cdcefdcc7
build: bring rustc --cfg flag support back
2019-01-14 02:18:18 +01:00
Ryan Dahl
bc2c808da1
Upgrade crates ( #1471 )
2019-01-07 10:36:08 -05:00
Ryan Dahl
63d558da0c
Use flatbuffers from crates.io ( #1400 )
2018-12-23 12:39:40 -05:00
Bert Belder
838d14a589
build: build rustls with the same features between gn/ninja and cargo
2018-12-19 12:19:44 +01:00
Goffert van Gool
40d6daf824
Read version from Cargo.toml ( #1267 )
2018-12-13 16:16:58 -05:00
Ryan Dahl
c113df1bb8
Process source maps in Rust instead of JS ( #1280 )
...
- Improves speed and binary size significantly.
- Makes deno_last_exception() output a JSON structure.
- Isolate::execute and Isolate::event_loop now return
structured, mapped JSError objects on errors.
- Removes libdeno functions:
libdeno.setGlobalErrorHandler()
libdeno.setPromiseRejectHandler()
libdeno.setPromiseErrorExaminer()
In collaboration with Ryan Dahl.
2018-12-06 23:05:36 -05:00
Ryan Dahl
3846384888
Upgrade Rust crates
2018-11-30 15:07:13 -08:00
Ryan Dahl
c5d8cf8eb6
Use pylint.
2018-11-30 11:33:45 -08:00
Ryan Dahl
ea4580f337
Fix mac debug build.
2018-11-29 17:46:09 -08:00
Andy Hayden
27ecfc1617
Add repl ( #998 )
...
- Running repl from js side.
- Add tests for repl behavior.
- Handle ctrl-C and ctrl-D.
2018-11-05 09:55:59 -08:00
Bert Belder
b9914c3113
third_party: add tokio-process Rust crate and its dependencies
2018-11-03 07:42:24 +01:00