-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from wslongchen/0.2.0
feat(0.2.0): Added SQLite support
- Loading branch information
Showing
16 changed files
with
1,057 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
[package] | ||
name = "akita" | ||
version = "0.2.10" | ||
version = "0.2.11" | ||
authors = ["mrpan <[email protected]>"] | ||
edition = "2018" | ||
description = "Akita.Mini Database Helper For MySQL." | ||
description = "Akita - Mini orm for rust." | ||
readme = "README.md" | ||
keywords = ["akita", "mysql", "sql"] | ||
keywords = ["akita", "orm", "mysql", "sqlite"] | ||
categories = ["data-structures", "database-implementations"] | ||
homepage = "https://github.com/wslongchen/akita" | ||
repository = "https://github.com/wslongchen/akita" | ||
documentation = "https://docs.rs/akita" | ||
license = "MIT" | ||
|
||
[dependencies] | ||
akita_derive = {version = "0.2.5", path = "./akita_derive"} | ||
mysql = {version = "19.0.1"} | ||
mysql = {version = "20.1.0", optional = true} | ||
rusqlite = {version = "0.21.0", optional = true} | ||
bigdecimal = "0.3.0" | ||
r2d2 = {version = "0.8.9"} | ||
chrono = { version = "0.4", features = ["serde"]} | ||
uuid = {version = "0.8.2", features = ["serde", "v4"]} | ||
|
@@ -22,25 +25,22 @@ log = "0.4" | |
twox-hash = "1" | ||
url = "2.2.2" | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0" | ||
|
||
|
||
[dev-dependencies] | ||
akita_derive = { version = "0.2.0", path = "./akita_derive" } | ||
|
||
[package.metadata.playground] | ||
# features = ["akita-mysql"] | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] | ||
# features = ["akita-mysql"] | ||
features = ["akita-mysql"] | ||
|
||
### FEATURES ################################################################# | ||
|
||
[features] | ||
# default = [] | ||
|
||
# Provide mysql pool with r2d2. | ||
# akita-mysql = [] | ||
akita-mysql = ["mysql"] | ||
|
||
# Provide impls for HashMap<K, V>. | ||
# Requires a dependency on the Rust standard library. | ||
std = [] | ||
akita-sqlite = ["rusqlite"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.