typeshare_model/
lib.rs

1/*!
2typeshare-model is the core dependency of all typeshare implementations. It
3defines the [`Language`] trait, which should be implemented by all aspiring
4typeshare implementations, as well as a
5 */
6pub mod decorator;
7mod language;
8pub mod parsed_data;
9
10pub use language::*;
11
12pub mod prelude {
13    pub use crate::language::{FilesMode, Language};
14    pub use crate::parsed_data::{
15        CrateName, Id, ImportedType, RustConst, RustConstExpr, RustEnum, RustEnumShared,
16        RustEnumVariant, RustEnumVariantShared, RustField, RustStruct, RustType, RustTypeAlias,
17        SpecialRustType, TypeName,
18    };
19}