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 config;
7pub mod decorator;
8mod language;
9pub mod parsed_data;
10
11pub use language::*;
12
13pub mod prelude {
14    pub use crate::language::{FilesMode, Language};
15    pub use crate::parsed_data::{
16        CrateName, Id, ImportedType, RustConst, RustConstExpr, RustEnum, RustEnumShared,
17        RustEnumVariant, RustEnumVariantShared, RustField, RustStruct, RustType, RustTypeAlias,
18        SpecialRustType, TypeName,
19    };
20}