-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
17 lines (13 loc) · 1.01 KB
/
Cargo.toml
File metadata and controls
17 lines (13 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Cargo.toml - Configuration file for the Rust library project
[package] # This section defines the package metadata
name = "harper-c" # The name of the package, used when publishing or building
version = "0.1.0" # The current version of the package, following semantic versioning
edition = "2021" # The Rust edition to use; 2021 is the latest as of now
[lib] # This section specifies settings related to the library
crate-type = ["cdylib"] # This tells Cargo to compile the library as a dynamic library (CDylib)
# A CDylib is suitable for linking with C code, allowing C programs to call Rust functions.
[dependencies] # This section lists the dependencies required by the package
harper-core = "1.9.0" # This specifies a dependency on the harper-core library from crates.io
[workspace] # This section is for workspace configuration
# An empty workspace section indicates that this package is not part of a larger workspace.
# This allows users to build this example independently without needing to modify or include other packages.