Skip to content

Instantly share code, notes, and snippets.

@thomaslee
Last active December 17, 2015 02:48
Show Gist options
  • Save thomaslee/5538253 to your computer and use it in GitHub Desktop.
Save thomaslee/5538253 to your computer and use it in GitHub Desktop.
Rough sketch of Rust crate metadata structure
tag_create_hash
:string
tag_attributes
tag_attribute
tag_meta_item_word
tag_meta_item_name
:string
tag_meta_item_name_value
tag_meta_item_name
:string
tag_meta_item_value
:string
tag_meta_item_list
tag_meta_item_name
:string
::tag_meta_item*
tag_crate_deps
tag_crate_dep
tag_crate_dep_name
:string
tag_crate_dep_vers
:string
tag_crate_dep_hash
:string
tag_lang_items
tag_lang_items_item
tag_lang_items_item_id
:u32
tag_lang_items_item_node_id
:u32
tag_link_args
tag_link_args_arg
:string
tag_items
tag_items_data
tag_items_data_item
tag_def_id
:string
tag_items_data_item_family
:byte
tag_items_data_item_type
:string
tag_index_buckets
tag_index_buckets_bucket
tag_index_buckets_bucket_elt
:u32
:u32
tag_index_table
:u32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment