Skip to content

Commit

Permalink
feat!: version third party crate feature flags
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiapple852 committed Aug 7, 2024
1 parent ebcae04 commit 6dce0f4
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 122 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ syn = { version = "2.0.38", features = [ "full" ] }
quote = "1.0.33"
proc-macro2 = "1.0.69"
test-case = "3.3.1"
smol_str = { version = "0.2.2", default-features = false }
smallvec = { version = "1.13.2", default-features = false }
smartstring = { version = "1.0.1", default-features = false }
ahash = { version = "0.8.11", default-features = false }
chrono = { version = "0.4.38", default-features = false }
smol_str-02 = { package = "smol_str", version = "0.2.2", default-features = false }
smallvec-1 = { package = "smallvec", version = "1.13.2", default-features = false }
smartstring-1 = { package = "smartstring", version = "1.0.1", default-features = false }
ahash-08 = { package = "ahash", version = "0.8.11", default-features = false }
chrono-04 = { package = "chrono", version = "0.4.38", default-features = false }
14 changes: 7 additions & 7 deletions bounded-static/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ alloc = []
collections = [ "alloc" ]

# Enable impls of [To|Into]BoundedStatic for other types in std.
std = [ "alloc", "ahash?/std", "chrono?/std" ]
std = [ "alloc", "ahash-08?/std", "chrono-04?/std" ]

# Enable the ToStatic custom derive macro.
derive = [ "bounded-static-derive" ]

# Enable the clock feature for chrono.
chrono-clock = [ "chrono", "chrono/clock" ]
chrono-clock-04 = [ "chrono-04", "chrono-04/clock" ]

[dependencies]
bounded-static-derive = { workspace = true, optional = true }
smol_str = { workspace = true, optional = true, default-features = false }
smallvec = { workspace = true, optional = true, default-features = false }
smartstring = { workspace = true, optional = true, default-features = false }
ahash = { workspace = true, optional = true, default-features = false }
chrono = { workspace = true, optional = true, default-features = false }
smol_str-02 = { workspace = true, optional = true, default-features = false }
smallvec-1 = { workspace = true, optional = true, default-features = false }
smartstring-1 = { workspace = true, optional = true, default-features = false }
ahash-08 = { workspace = true, optional = true, default-features = false }
chrono-04 = { workspace = true, optional = true, default-features = false }

[dev-dependencies]
test-case.workspace = true
Expand Down
Loading

0 comments on commit 6dce0f4

Please sign in to comment.