0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-27 01:29:19 -05:00
denoland-rusty-v8/src/lib.rs

44 lines
916 B
Rust
Raw Normal View History

2019-11-01 13:50:12 -04:00
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
2019-10-23 01:58:11 -04:00
#![warn(clippy::all)]
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::new_without_default)]
2019-10-23 01:58:11 -04:00
#![allow(dead_code)]
2019-12-04 02:03:17 -05:00
#[macro_use]
extern crate bitflags;
#[macro_use]
extern crate lazy_static;
extern crate libc;
2019-12-04 08:12:27 -05:00
mod context;
mod handle_scope;
mod isolate;
mod local;
mod locker;
2019-12-04 02:03:17 -05:00
mod number;
2019-12-04 08:12:27 -05:00
mod script;
mod string;
mod support;
pub mod array_buffer;
pub mod inspector;
2019-10-22 17:52:43 -04:00
pub mod platform;
2019-11-30 11:47:26 -05:00
// This module is intentionally named "V8" rather than "v8" to match the
// C++ namespace "v8::V8".
#[allow(non_snake_case)]
pub mod V8;
2019-10-17 19:46:54 -04:00
2019-12-04 08:12:27 -05:00
pub use context::Context;
pub use handle_scope::HandleScope;
pub use isolate::Isolate;
pub use local::Local;
pub use locker::Locker;
2019-12-04 02:03:17 -05:00
pub use number::{Integer, Number};
2019-12-04 08:12:27 -05:00
pub use script::{Script, ScriptOrigin};
pub use string::NewStringType;
2019-12-04 02:03:17 -05:00
pub use string::String;
2019-12-04 08:12:27 -05:00
#[repr(C)]
pub struct Value(support::Opaque);