| Crates.io | dbent |
| lib.rs | dbent |
| version | 0.1.1 |
| created_at | 2023-02-18 17:20:03.77559+00 |
| updated_at | 2023-06-16 19:33:14.402464+00 |
| description | Database entities types |
| homepage | |
| repository | https://github.com/hiltonm/dbent |
| max_upload_size | |
| id | 788342 |
| size | 37,106 |
Provides types for defining simple database entities and relationships in structs for when you don't want to use an ORM but still want to organize your code in an object-oriented manner.
This crate is on crates.io and can be
used by adding dbent to your dependencies in your project's Cargo.toml.
[dependencies]
dbent = "0.1.0"
The following features are supported:
default: enables serde and derive features by defaultserde: for serde serializationrusqlite: for rusqlite ToSql and FromSql implementations for the Key typederive: for the derive macros Entity and LabelThis was used for the world-tables app in the world-tables-base.
Licensed under either of Apache License, Version 2.0 or MIT License at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in dbent by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.