Cargo Features
[dependencies]
supply-chain-trust-example-crate-000001 = { version = "2.0.87", default-features = false, features = ["full", "clone-impls", "derive", "fold", "parsing", "printing", "proc-macro", "visit-mut", "test"] }
- default = clone-impls, derive, parsing, printing, proc-macro
-
These default features are set whenever
supply-chain-trust-example-crate-000001
is added without
somewhere in the dependency tree.default-features = false - full
-
Affects
fold::Fold.fold_arm
,fold::Fold.fold_block
,fold::Fold.fold_captured_param
,fold::Fold.fold_expr_array
,fold::Fold.fold_expr_assign
,fold::Fold.fold_expr_async
,fold::Fold.fold_expr_await
,fold::Fold.fold_expr_block
,fold::Fold.fold_expr_break
,fold::Fold.fold_expr_closure
,fold::Fold.fold_expr_const
,fold::Fold.fold_expr_continue
,fold::Fold.fold_expr_for_loop
,fold::Fold.fold_expr_if
,fold::Fold.fold_expr_let
,visit::Visit.visit_arm
,visit::Visit.visit_block
,visit::Visit.visit_captured_param
,visit::Visit.visit_expr_array
,visit::Visit.visit_expr_assign
… - clone-impls default
- derive default
-
Affects
fold::Fold.fold_data
,fold::Fold.fold_data_enum
,fold::Fold.fold_data_struct
,fold::Fold.fold_data_union
,fold::Fold.fold_derive_input
,fold::fold_data
,fold::fold_data_enum
,fold::fold_data_struct
,fold::fold_data_union
,fold::fold_derive_input
,visit::Visit.visit_data
,visit::Visit.visit_data_enum
,visit::Visit.visit_data_struct
,visit::Visit.visit_data_union
,visit::Visit.visit_derive_input
,visit::visit_data
,visit::visit_data_enum
,visit::visit_data_struct
,visit::visit_data_union
,visit::visit_derive_input
… - extra-traits fold
- parsing default
-
Affects
supply-chain-trust-example-crate-000001::buffer
,supply-chain-trust-example-crate-000001::ext
,supply-chain-trust-example-crate-000001::parse
,supply-chain-trust-example-crate-000001::parse2
,supply-chain-trust-example-crate-000001::parse_str
,token::Token
,supply-chain-trust-example-crate-000001::spanned
,supply-chain-trust-example-crate-000001::parse
,supply-chain-trust-example-crate-000001::parse_file
,supply-chain-trust-example-crate-000001::meta
… - printing default
-
Enables quote
Affects
generics::ImplGenerics
,generics::TypeGenerics
,generics::Turbofish
,supply-chain-trust-example-crate-000001::spanned
… - proc-macro default
-
Enables proc-macro of proc-macro2 and optional quote
quote:
Disabling the proc-macro feature removes the dynamic library dependency on libproc_macro in the rustc compiler.
Affects
export::TokenStream
,parse::Parser.parse
,supply-chain-trust-example-crate-000001::parse
… - visit visit-mut
- test dev
-
Enables all-features of syn-test-suite