tag | e5fdc2d34527e99443616393b8e066b8c8f97aed | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Apr 01 16:14:29 2024 -0700 |
object | 10f5acc0f0b3f5d4dbd4f871af7ceb4e18a0aca5 |
Android 14.0.0 Release 31 (AP1A.240405.002.A1)
commit | 10f5acc0f0b3f5d4dbd4f871af7ceb4e18a0aca5 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Nov 17 00:14:03 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Nov 17 00:14:03 2023 +0000 |
tree | b5292124981f207ffbb2a12b3a78d6e5a65c0d77 | |
parent | 129301cc8a06384523784f740016f0e251fe2fca [diff] | |
parent | af68bf99ca6c35f44c4ec225f7c5d37a20e2873b [diff] |
Snap for 11111096 from af68bf99ca6c35f44c4ec225f7c5d37a20e2873b to 24Q1-release Change-Id: I5caebfa8e2b2ecb7898f9842cf2e2be5f9599cdb
Providing the features between “full” and “derive” of syn.
This crate provides the following two unique data structures.
syn_mid::ItemFn
-- A function whose body is not parsed.
fn process(n: usize) -> Result<()> { ... } ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^
syn_mid::Block
-- A block whose body is not parsed.
{ ... } ^ ^
Other data structures are the same as data structures of syn. These are defined in this crate because they cannot be used in syn without “full” feature.
Add this to your Cargo.toml
:
[dependencies] syn-mid = "0.5"
Compiler support: requires rustc 1.56+
clone-impls
— Clone impls for all syntax tree types.Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.