openusd-build 0.8.0

Generates Rust schema views from OpenUSD schema.usda files, for use as a build dependency
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.96"
name = "openusd-build"
version = "0.8.0"
build = false
exclude = ["/fixtures"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generates Rust schema views from OpenUSD schema.usda files, for use as a build dependency"
readme = "README.md"
keywords = [
    "usd",
    "openusd",
    "schema",
    "codegen",
    "build-dependencies",
]
categories = [
    "graphics",
    "rendering",
    "rendering::data-formats",
]
license = "MIT"
repository = "https://github.com/mxpv/openusd"

[lib]
name = "openusd_build"
path = "src/lib.rs"

[[test]]
name = "core_family"
path = "tests/core_family.rs"

[[test]]
name = "declarations"
path = "tests/declarations.rs"

[[test]]
name = "emit"
path = "tests/emit.rs"

[[test]]
name = "nodes"
path = "tests/nodes.rs"

[[test]]
name = "reflect"
path = "tests/reflect.rs"

[[test]]
name = "upstream"
path = "tests/upstream.rs"

[[test]]
name = "values"
path = "tests/values.rs"

[[test]]
name = "vendored"
path = "tests/vendored.rs"

[dependencies.openusd]
version = "0.8.0"

[dependencies.prettyplease]
version = "0.3"

[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.syn]
version = "3"
features = [
    "full",
    "parsing",
    "printing",
]

[dependencies.textwrap]
version = "0.16"
features = [
    "smawk",
    "unicode-width",
]
default-features = false

[dependencies.thiserror]
version = "2"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
await_holding_lock = "deny"
char_lit_as_u8 = "deny"
checked_conversions = "deny"
dbg_macro = "deny"
debug_assert_with_mut_call = "deny"
disallowed_script_idents = "deny"
doc_markdown = "deny"
empty_enums = "deny"
enum_glob_use = "deny"
equatable_if_let = "deny"
exit = "deny"
expl_impl_clone_on_copy = "deny"
explicit_deref_methods = "deny"
explicit_into_iter_loop = "deny"
fallible_impl_from = "deny"
filter_map_next = "deny"
flat_map_option = "deny"
float_cmp_const = "deny"
fn_params_excessive_bools = "deny"
fn_to_numeric_cast_any = "deny"
from_iter_instead_of_collect = "deny"
if_let_mutex = "deny"
implicit_clone = "deny"
imprecise_flops = "deny"
index_refutable_slice = "deny"
inefficient_to_string = "deny"
invalid_upcast_comparisons = "deny"
iter_not_returning_iterator = "deny"
large_digit_groups = "deny"
large_stack_arrays = "deny"
large_types_passed_by_value = "deny"
let_unit_value = "deny"
linkedlist = "deny"
lossy_float_literal = "deny"
macro_use_imports = "deny"
manual_ok_or = "deny"
map_flatten = "deny"
map_unwrap_or = "deny"
match_same_arms = "deny"
match_wild_err_arm = "deny"
match_wildcard_for_single_variants = "deny"
mem_forget = "deny"
missing_enforced_import_renames = "deny"
mut_mut = "deny"
mutex_integer = "deny"
needless_borrow = "deny"
needless_continue = "deny"
needless_for_each = "deny"
negative_feature_names = "deny"
nonstandard_macro_braces = "deny"
option_option = "deny"
path_buf_push_overwrite = "deny"
ptr_as_ptr = "deny"
rc_mutex = "deny"
ref_option_ref = "deny"
rest_pat_in_fully_bound_structs = "deny"
same_functions_in_if_condition = "deny"
semicolon_if_nothing_returned = "deny"
single_match_else = "deny"
string_add = "deny"
string_add_assign = "deny"
string_lit_as_bytes = "deny"
trailing_empty_array = "deny"
trait_duplication_in_bounds = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unnested_or_patterns = "deny"
unused_self = "deny"
useless_transmute = "deny"
verbose_file_reads = "deny"
zero_sized_map_values = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
trivial_numeric_casts = "deny"
unsafe_code = "deny"

[lints.rust.future_incompatible]
level = "deny"
priority = -1

[lints.rust.nonstandard_style]
level = "deny"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_codeblock_attributes = "deny"
invalid_html_tags = "deny"
invalid_rust_codeblocks = "deny"
missing_crate_level_docs = "deny"
private_intra_doc_links = "deny"
redundant_explicit_links = "deny"