1 unstable release
0.1.0 | Nov 12, 2022 |
---|
#28 in #obj
Used in 2 crates
(via surrealdb-obj-derive)
19KB
413 lines
-
please check impl/src/lib.rs
-
usage
#[derive(Debug, Clone)]
pub struct Relation {
pub id: Thing,
pub from: Thing,
pub with: Thing,
}
impl Into<surrealdb_obj_derive::surrealdb::sql::Value> for Relation {}
ref to crate schema
or
#[derive(SurrealDbObject, Debug, Clone)]
pub struct Mobile {
pub id: u64,
}
- release
cargo install cargo-release
cargo release publish --workspace --execute
cargo release push --no-tag --execute
# cargo publish --no-verify
lib.rs
:
This crate implements the macro for surrealdb_obj_derive
and should not be used directly.
Dependencies
~78MB
~1.5M SLoC