Skip to content

Commit

Permalink
feat(Rust): Include map of schemas in crate
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Jul 14, 2021
1 parent f129670 commit 4b82b26
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@
"r/NAMESPACE",
"r/DESCRIPTION",
"rust/src/types.rs",
"rust/src/schemas.rs",
"rust/Cargo.toml",
"rust/Cargo.lock",
"ts/types.ts",
Expand Down
9 changes: 9 additions & 0 deletions rust/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
#![recursion_limit = "256"]

mod prelude;
pub use prelude::Array;
pub use prelude::Boolean;
pub use prelude::Integer;
pub use prelude::NodeTrait;
pub use prelude::Number;
pub use prelude::Object;
pub use prelude::Primitive;

#[rustfmt::skip]
mod types;
pub use types::*;

#[rustfmt::skip]
mod schemas;
pub use schemas::*;
Loading

0 comments on commit 4b82b26

Please sign in to comment.