julid-rs/Cargo.toml

36 lines
No EOL
1.2 KiB
TOML

[package]
name = "julid-rs"
version = "1.6.18"
authors = ["Joe Ardent <code@ardent.nebcorp.com>"]
edition = "2021"
keywords = ["ulid", "library", "sqlite", "extension", "julid"]
description = "A crate and loadable extension for SQLite that uses it, 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 = ["sqlite-loadable"] # builds libjulid.* for loading into sqlite
[lib]
name = "julid"
crate-type = ["cdylib", "rlib"]
[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 }
[package.metadata.docs.rs]
all-features = true