cppshift 0.1.1

CPP parser and transpiler
Documentation
# 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 = "2024"
name = "cppshift"
version = "0.1.1"
authors = [
    "Jérémy HERGAULT",
    "Enzo PASQUALINI",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CPP parser and transpiler"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/worldline/cppshift"

[features]
ast = []
default = ["transpiler"]
transpiler = [
    "ast",
    "dep:serde",
    "dep:syn",
    "dep:quote",
    "dep:proc-macro2",
]

[lib]
name = "cppshift"
path = "src/lib.rs"

[[example]]
name = "ast"
path = "examples/ast.rs"

[[example]]
name = "lexer"
path = "examples/lexer.rs"

[dependencies.miette]
version = "7"
features = ["fancy"]

[dependencies.proc-macro2]
version = "1"
optional = true

[dependencies.quote]
version = "1"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.syn]
version = "2"
features = [
    "full",
    "extra-traits",
    "printing",
]
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.glob]
version = "0.3"

[dev-dependencies.reqwest]
version = "0.13"

[dev-dependencies.tokio]
version = "1"
features = ["macros"]