mirror of https://github.com/boa-dev/boa.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.5 KiB
60 lines
1.5 KiB
3 years ago
|
[package]
|
||
|
name = "boa_examples"
|
||
2 years ago
|
description = "Usage examples of the Boa JavaScript engine."
|
||
3 years ago
|
publish = false
|
||
2 years ago
|
version.workspace = true
|
||
|
edition.workspace = true
|
||
|
authors.workspace = true
|
||
|
license.workspace = true
|
||
|
repository.workspace = true
|
||
|
rust-version.workspace = true
|
||
3 years ago
|
|
||
|
[dependencies]
|
||
2 years ago
|
boa_engine.workspace = true
|
||
2 years ago
|
boa_ast.workspace = true
|
||
2 years ago
|
boa_interner.workspace = true
|
||
2 years ago
|
boa_gc.workspace = true
|
||
2 years ago
|
boa_parser.workspace = true
|
||
2 years ago
|
boa_runtime.workspace = true
|
||
1 year ago
|
chrono.workspace = true
|
||
2 years ago
|
smol = "1.3.0"
|
||
1 year ago
|
futures-util = "0.3.29"
|
||
12 months ago
|
|
||
|
|
||
|
# use explicit lints for examples, since we don't need to lint for docs
|
||
|
[lints.rust]
|
||
|
# rustc lint groups https://doc.rust-lang.org/rustc/lints/groups.html
|
||
|
warnings = "warn"
|
||
|
future_incompatible = "warn"
|
||
|
let_underscore = "warn"
|
||
|
nonstandard_style = "warn"
|
||
|
rust_2018_compatibility = "warn"
|
||
|
rust_2018_idioms = "warn"
|
||
|
rust_2021_compatibility = "warn"
|
||
|
unused = "warn"
|
||
|
macro_use_extern_crate = "warn"
|
||
|
meta_variable_misuse = "warn"
|
||
|
missing_abi = "warn"
|
||
|
missing_copy_implementations = "warn"
|
||
|
missing_debug_implementations = "warn"
|
||
|
non_ascii_idents = "warn"
|
||
|
noop_method_call = "warn"
|
||
|
single_use_lifetimes = "warn"
|
||
|
trivial_casts = "warn"
|
||
|
trivial_numeric_casts = "warn"
|
||
|
unreachable_pub = "warn"
|
||
|
unsafe_op_in_unsafe_fn = "warn"
|
||
|
unused_import_braces = "warn"
|
||
|
unused_lifetimes = "warn"
|
||
|
unused_qualifications = "warn"
|
||
|
unused_tuple_struct_fields = "warn"
|
||
|
variant_size_differences = "warn"
|
||
|
|
||
|
[lints.clippy]
|
||
|
all = "warn"
|
||
|
correctness = "warn"
|
||
|
suspicious = "warn"
|
||
|
style = "warn"
|
||
|
complexity = "warn"
|
||
|
perf = "warn"
|