# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "to_shmem"
version = "0.4.0"
authors = ["The Servo Project Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Trait to write to a contiguous chunk of shared memory"
readme = false
license = "MPL-2.0"
repository = "https://github.com/servo/stylo"

[lib]
name = "to_shmem"
path = "lib.rs"

[dependencies.cssparser]
version = "0.37"
optional = true

[dependencies.servo_arc]
version = "0.4.3"
optional = true

[dependencies.smallbitvec]
version = "2.3.0"
optional = true

[dependencies.smallvec]
version = "1.13"
optional = true

[dependencies.string_cache]
version = "0.9"
optional = true

[dependencies.thin-vec]
version = "0.2.1"
optional = true

[features]
cssparser = ["dep:cssparser"]
gecko = [
    "thin-vec/gecko-ffi",
    "cssparser",
    "servo_arc",
    "smallbitvec",
    "smallvec",
    "thin-vec",
]
servo = [
    "cssparser/serde",
    "cssparser",
    "servo_arc",
    "smallbitvec",
    "smallvec",
    "string_cache",
    "thin-vec",
]
servo_arc = ["dep:servo_arc"]
smallbitvec = ["dep:smallbitvec"]
smallvec = ["dep:smallvec"]
string_cache = ["dep:string_cache"]
thin-vec = ["dep:thin-vec"]
