[package]
edition = "2024"
rust-version = "1.97"
name = "xsd"
version = "0.5.0"
authors = ["Arto Bendiken"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "XSD.rs"
homepage = "https://github.com/rust-rdf"
readme = "README.md"
keywords = [
"xml",
"xsd",
"rdf",
"semantic-web",
]
categories = [
"data-structures",
"no-std",
]
license = "Unlicense"
repository = "https://github.com/rust-rdf/rdf.rs"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
all = [
"datetime",
"decimal",
]
alloc = [
"heapless/alloc",
"valuand/alloc",
"serde?/alloc",
"serde_json?/alloc",
]
borsh = [
"alloc",
"dep:borsh",
"valuand/borsh",
]
bson = [
"std",
"dep:bson",
"valuand/bson",
]
datetime = ["jiff"]
decimal = ["valuand/decimal"]
default = [
"all",
"std",
]
jiff = ["dep:jiff"]
json-ld = []
oxrdf = [
"std",
"dep:oxrdf",
"dep:oxsdatatypes",
]
rudof = [
"std",
"dep:oxsdatatypes",
]
rust_decimal = [
"dep:rust_decimal",
"valuand/rust_decimal",
]
serde = [
"alloc",
"dep:serde",
"dep:serde_json",
"decorum/serde",
"valuand/serde",
"jiff?/serde",
"rust_decimal?/serde-with-str",
]
sophia = []
std = [
"alloc",
"valuand/std",
"strum/std",
"serde?/std",
"serde_json?/preserve_order",
]
unstable = []
[lib]
name = "xsd"
path = "src/lib.rs"
[[example]]
name = "parse_xsd"
path = "examples/parse_xsd.rs"
required-features = [
"alloc",
"datetime",
]
[[test]]
name = "calendar_limits"
path = "tests/calendar_limits.rs"
[[test]]
name = "conversions"
path = "tests/conversions.rs"
[[test]]
name = "date_borsh"
path = "tests/date_borsh.rs"
[[test]]
name = "date_conversions"
path = "tests/date_conversions.rs"
[[test]]
name = "date_differential"
path = "tests/date_differential.rs"
[[test]]
name = "date_timezone"
path = "tests/date_timezone.rs"
[[test]]
name = "datetime_borsh"
path = "tests/datetime_borsh.rs"
[[test]]
name = "datetime_conversions"
path = "tests/datetime_conversions.rs"
[[test]]
name = "datetime_differential"
path = "tests/datetime_differential.rs"
[[test]]
name = "datetime_precision"
path = "tests/datetime_precision.rs"
[[test]]
name = "datetime_timestamp"
path = "tests/datetime_timestamp.rs"
[[test]]
name = "datetime_timezone"
path = "tests/datetime_timezone.rs"
[[test]]
name = "decimal_bson"
path = "tests/decimal_bson.rs"
[[test]]
name = "decimal_json"
path = "tests/decimal_json.rs"
[[test]]
name = "decimal_lexical"
path = "tests/decimal_lexical.rs"
[[test]]
name = "double_lexical"
path = "tests/double_lexical.rs"
[[test]]
name = "duration_lexical"
path = "tests/duration_lexical.rs"
[[test]]
name = "duration_limits"
path = "tests/duration_limits.rs"
[[test]]
name = "end_of_day"
path = "tests/end_of_day.rs"
[[test]]
name = "float_json"
path = "tests/float_json.rs"
[[test]]
name = "float_lexical"
path = "tests/float_lexical.rs"
[[test]]
name = "formatting"
path = "tests/formatting.rs"
[[test]]
name = "gday_borsh"
path = "tests/gday_borsh.rs"
[[test]]
name = "gday_bson"
path = "tests/gday_bson.rs"
[[test]]
name = "gday_comparison"
path = "tests/gday_comparison.rs"
[[test]]
name = "gday_core"
path = "tests/gday_core.rs"
[[test]]
name = "gday_differential"
path = "tests/gday_differential.rs"
[[test]]
name = "gday_json"
path = "tests/gday_json.rs"
[[test]]
name = "gday_serde"
path = "tests/gday_serde.rs"
[[test]]
name = "gday_timezone"
path = "tests/gday_timezone.rs"
[[test]]
name = "gmonth_borsh"
path = "tests/gmonth_borsh.rs"
[[test]]
name = "gmonth_bson"
path = "tests/gmonth_bson.rs"
[[test]]
name = "gmonth_comparison"
path = "tests/gmonth_comparison.rs"
[[test]]
name = "gmonth_core"
path = "tests/gmonth_core.rs"
[[test]]
name = "gmonth_differential"
path = "tests/gmonth_differential.rs"
[[test]]
name = "gmonth_json"
path = "tests/gmonth_json.rs"
[[test]]
name = "gmonth_serde"
path = "tests/gmonth_serde.rs"
[[test]]
name = "gmonth_timezone"
path = "tests/gmonth_timezone.rs"
[[test]]
name = "gmonthday_borsh"
path = "tests/gmonthday_borsh.rs"
[[test]]
name = "gmonthday_bson"
path = "tests/gmonthday_bson.rs"
[[test]]
name = "gmonthday_comparison"
path = "tests/gmonthday_comparison.rs"
[[test]]
name = "gmonthday_core"
path = "tests/gmonthday_core.rs"
[[test]]
name = "gmonthday_differential"
path = "tests/gmonthday_differential.rs"
[[test]]
name = "gmonthday_json"
path = "tests/gmonthday_json.rs"
[[test]]
name = "gmonthday_serde"
path = "tests/gmonthday_serde.rs"
[[test]]
name = "gmonthday_timezone"
path = "tests/gmonthday_timezone.rs"
[[test]]
name = "gyear_limits"
path = "tests/gyear_limits.rs"
[[test]]
name = "gyear_timezone"
path = "tests/gyear_timezone.rs"
[[test]]
name = "gyearmonth_borsh"
path = "tests/gyearmonth_borsh.rs"
[[test]]
name = "gyearmonth_bson"
path = "tests/gyearmonth_bson.rs"
[[test]]
name = "gyearmonth_comparison"
path = "tests/gyearmonth_comparison.rs"
[[test]]
name = "gyearmonth_core"
path = "tests/gyearmonth_core.rs"
[[test]]
name = "gyearmonth_differential"
path = "tests/gyearmonth_differential.rs"
[[test]]
name = "gyearmonth_json"
path = "tests/gyearmonth_json.rs"
[[test]]
name = "gyearmonth_serde"
path = "tests/gyearmonth_serde.rs"
[[test]]
name = "gyearmonth_timezone"
path = "tests/gyearmonth_timezone.rs"
[[test]]
name = "integer_construction"
path = "tests/integer_construction.rs"
[[test]]
name = "integer_json"
path = "tests/integer_json.rs"
[[test]]
name = "integer_lexical"
path = "tests/integer_lexical.rs"
[[test]]
name = "parse_dispatch"
path = "tests/parse_dispatch.rs"
[[test]]
name = "partial_calendar_construction"
path = "tests/partial_calendar_construction.rs"
[[test]]
name = "partial_calendar_parse"
path = "tests/partial_calendar_parse.rs"
[[test]]
name = "time_borsh"
path = "tests/time_borsh.rs"
[[test]]
name = "time_conversions"
path = "tests/time_conversions.rs"
[[test]]
name = "time_differential"
path = "tests/time_differential.rs"
[[test]]
name = "time_precision"
path = "tests/time_precision.rs"
[[test]]
name = "time_timezone"
path = "tests/time_timezone.rs"
[[test]]
name = "timezone_offset"
path = "tests/timezone_offset.rs"
[[test]]
name = "widening"
path = "tests/widening.rs"
[dependencies.borsh]
version = "1.6"
features = ["derive"]
optional = true
default-features = false
[dependencies.bson]
version = "3.1"
features = ["compat-3-0-0"]
optional = true
default-features = false
[dependencies.decorum]
version = "0.4"
default-features = false
[dependencies.heapless]
version = "0.9"
default-features = false
[dependencies.jiff]
version = "0.2"
optional = true
default-features = false
[dependencies.oxrdf]
version = "0.3"
features = ["rdf-12"]
optional = true
default-features = false
[dependencies.oxsdatatypes]
version = "0.2"
optional = true
default-features = false
[dependencies.phf]
version = "0.14"
features = ["macros"]
default-features = false
[dependencies.rust_decimal]
version = "1.42"
optional = true
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false
[dependencies.serde_json]
version = "1"
optional = true
default-features = false
[dependencies.strum]
version = "0.28"
default-features = false
[dependencies.strum_macros]
version = "0.28"
[dependencies.valuand]
version = "0.1"
features = ["number"]
default-features = false