julid-rs/Cargo.toml

40 lines
1.3 KiB
TOML
Raw Normal View History

2023-07-25 19:04:38 +00:00
[package]
name = "julid-rs"
version = "1.6.180"
authors = ["Joe Ardent <code@ardent.nebcorp.com>"]
2023-07-25 19:04:38 +00:00
edition = "2021"
keywords = ["ulid", "library", "sqlite", "extension", "julid"]
2023-07-31 14:33:07 +00:00
description = "A crate and loadable extension for SQLite that provides Joe's ULIDs."
readme = "README.md"
license-file = "LICENSE.md"
repository = "https://gitlab.com/nebkor/julid"
[features]
default = ["chrono", "serde", "sqlx"] # just the regular crate
chrono = ["dep:chrono"]
serde = ["dep:serde"]
sqlx = ["dep:sqlx"]
# 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
plugin = ["dep:sqlite-loadable"] # builds libjulid.* for loading into sqlite
[lib]
name = "julid"
crate-type = ["cdylib", "rlib"]
2023-07-25 19:04:38 +00:00
[dependencies]
rand = "0.8"
# all other deps are optional
chrono = { version = "0.4", optional = true, default-features = false, features = ["std", "time"] }
serde = { version = "1.0", features = ["derive"], optional = true }
sqlx = { version = "0.7", features = ["sqlite"], default-features = false, optional = true }
sqlite-loadable = { version = "0.0.5", optional = true }
[dev-dependencies]
2023-07-31 14:33:07 +00:00
clap = { version = "4.3", default-features = false, features = ["help", "usage", "std", "derive"] }
[package.metadata.docs.rs]
all-features = true