0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2025-02-02 04:37:35 -05:00
denoland-rusty-v8/src/lib.rs

58 lines
1.3 KiB
Rust

// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
#![warn(clippy::all)]
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::new_without_default)]
#![allow(dead_code)]
#[macro_use]
extern crate bitflags;
#[macro_use]
extern crate lazy_static;
extern crate libc;
mod context;
mod exception;
mod function;
mod handle_scope;
mod isolate;
mod json;
mod local;
mod locker;
mod number;
mod object;
mod primitives;
mod promise;
mod script;
mod string;
mod support;
mod value;
pub mod array_buffer;
pub mod inspector;
pub mod platform;
// This module is intentionally named "V8" rather than "v8" to match the
// C++ namespace "v8::V8".
#[allow(non_snake_case)]
pub mod V8;
pub use context::Context;
pub use exception::Exception;
pub use function::{Function, FunctionCallbackInfo, FunctionTemplate};
pub use handle_scope::HandleScope;
pub use isolate::Isolate;
pub use isolate::OwnedIsolate;
pub use json::JSON;
pub use local::Local;
pub use locker::Locker;
pub use number::{Integer, Number};
pub use object::Object;
pub use primitives::*;
pub use promise::{
Promise, PromiseRejectEvent, PromiseRejectMessage, PromiseResolver,
PromiseState,
};
pub use script::{Script, ScriptOrigin};
pub use string::NewStringType;
pub use string::String;
pub use value::Value;