2023-07-25 19:04:38 +00:00
|
|
|
[package]
|
2023-07-26 00:51:49 +00:00
|
|
|
name = "julid-rs"
|
2023-07-29 23:16:13 +00:00
|
|
|
version = "1.6.180"
|
2023-07-26 00:51:49 +00:00
|
|
|
authors = ["Joe Ardent <code@ardent.nebcorp.com>"]
|
2023-07-25 19:04:38 +00:00
|
|
|
edition = "2021"
|
2023-07-27 01:21:42 +00:00
|
|
|
keywords = ["ulid", "library", "sqlite", "extension", "julid"]
|
2023-07-26 00:51:49 +00:00
|
|
|
|
2023-07-31 14:33:07 +00:00
|
|
|
description = "A crate and loadable extension for SQLite that provides Joe's ULIDs."
|
2023-07-26 00:51:49 +00:00
|
|
|
readme = "README.md"
|
|
|
|
license-file = "LICENSE.md"
|
|
|
|
repository = "https://gitlab.com/nebkor/julid"
|
|
|
|
|
2023-07-27 01:21:42 +00:00
|
|
|
[features]
|
2023-07-27 21:00:26 +00:00
|
|
|
default = ["chrono", "serde", "sqlx"] # just the regular crate
|
|
|
|
chrono = ["dep:chrono"]
|
|
|
|
serde = ["dep:serde"]
|
|
|
|
sqlx = ["dep:sqlx"]
|
2023-07-27 01:21:42 +00:00
|
|
|
|
2023-07-28 14:11:56 +00:00
|
|
|
# WARNING! don't enable this feature in your project's Cargo.toml if using julid-rs as a dependency;
|
|
|
|
# see https://gitlab.com/nebkor/julid/-/issues/1
|
2023-07-29 23:16:13 +00:00
|
|
|
plugin = ["dep:sqlite-loadable"] # builds libjulid.* for loading into sqlite
|
2023-07-28 14:11:56 +00:00
|
|
|
|
2023-07-26 00:51:49 +00:00
|
|
|
[lib]
|
|
|
|
name = "julid"
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
2023-07-25 19:04:38 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-07-26 00:51:49 +00:00
|
|
|
rand = "0.8"
|
2023-07-28 14:11:56 +00:00
|
|
|
# all other deps are optional
|
|
|
|
chrono = { version = "0.4", optional = true, default-features = false, features = ["std", "time"] }
|
2023-07-27 01:21:42 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
|
|
|
sqlx = { version = "0.7", features = ["sqlite"], default-features = false, optional = true }
|
2023-07-27 21:00:26 +00:00
|
|
|
sqlite-loadable = { version = "0.0.5", optional = true }
|
2023-07-28 14:11:56 +00:00
|
|
|
|
2023-07-29 23:16:13 +00:00
|
|
|
[dev-dependencies]
|
2023-07-31 14:33:07 +00:00
|
|
|
clap = { version = "4.3", default-features = false, features = ["help", "usage", "std", "derive"] }
|
2023-07-29 23:16:13 +00:00
|
|
|
|
2023-07-28 14:11:56 +00:00
|
|
|
[package.metadata.docs.rs]
|
2023-07-29 23:16:13 +00:00
|
|
|
all-features = true
|