Skip to content

Commit

Permalink
Add support for chrono::DateTime<T>
Browse files Browse the repository at this point in the history
  • Loading branch information
emwalker committed Jul 20, 2024
1 parent 4109aec commit b9926cc
Show file tree
Hide file tree
Showing 4 changed files with 328 additions and 0 deletions.
234 changes: 234 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ exclude = [
[features]
default = ["old-api"]
bytes = ["dep:bytes"]
chrono = ["dep:chrono"]
embed = ["rb-sys/link-ruby"]
old-api = []
rb-sys = []

[dependencies]
bytes = { version = "1", optional = true }
chrono = { version = "0.4.38", optional = true }
magnus-macros = { version = "0.6.0", path = "magnus-macros" }
rb-sys = { version = "0.9.85", default-features = false, features = [
"bindgen-rbimpls",
Expand All @@ -42,6 +44,7 @@ magnus = { path = ".", default-features = false, features = [
"embed",
"rb-sys",
"bytes",
"chrono",
] }
rb-sys = { version = "0.9", default-features = false, features = [
"stable-api-compiled-fallback",
Expand Down
Loading

0 comments on commit b9926cc

Please sign in to comment.