0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-26 09:13:46 -05:00
denoland-rusty-v8/src/lib.rs
2019-12-04 19:02:21 +01:00

43 lines
916 B
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 handle_scope;
mod isolate;
mod local;
mod locker;
mod number;
mod script;
mod string;
mod support;
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 handle_scope::HandleScope;
pub use isolate::Isolate;
pub use local::Local;
pub use locker::Locker;
pub use number::{Integer, Number};
pub use script::{Script, ScriptOrigin};
pub use string::NewStringType;
pub use string::String;
#[repr(C)]
pub struct Value(support::Opaque);